Package fr.paris.lutece.plugins.crm.util
Class CrmUtils
- java.lang.Object
-
- fr.paris.lutece.plugins.crm.util.CrmUtils
-
public class CrmUtils extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTANT_ID_NULL
-
Constructor Summary
Constructors Constructor Description CrmUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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 Detail
-
CONSTANT_ID_NULL
public static final int CONSTANT_ID_NULL
- See Also:
- Constant Field Values
-
-
Method Detail
-
convertStringToInt
public static int convertStringToInt(String strParameter)
convert a string to int- Parameters:
strParameter- the string parameter to convert- Returns:
- the conversion
-
addElementHtml
public static void addElementHtml(StringBuffer strXmlBuffer, String strTag, String strValue)
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
-
-