Package fr.paris.lutece.plugins.crm.util
Class CrmUtils
java.lang.Object
fr.paris.lutece.plugins.crm.util.CrmUtils
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidaddElementHtml(StringBuffer strXmlBuffer, String strTag, String strValue) Add a CDATA type element to XML document buffer add Empty value if strValue is nullstatic intconvertStringToInt(String strParameter) convert a string to int
-
Field Details
-
CONSTANT_ID_NULL
public static final int CONSTANT_ID_NULL- See Also:
-
-
Constructor Details
-
CrmUtils
public CrmUtils()
-
-
Method Details
-
convertStringToInt
convert a string to int- Parameters:
strParameter- the string parameter to convert- Returns:
- the conversion
-
addElementHtml
Add a CDATA type element to XML document buffer add Empty value if strValue is null- Parameters:
strXmlBuffer- The XML document bufferstrTag- The tag name of the element to addstrValue- The value of the element
-