fr.paris.lutece.plugins.crm.util
Class CrmUtils

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.util.CrmUtils

public class CrmUtils
extends Object


Field Summary
static int CONSTANT_ID_NULL
           
 
Constructor Summary
CrmUtils()
           
 
Method Summary
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
static int convertStringToInt(String strParameter)
          convert a string to int
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CONSTANT_ID_NULL

public static final int CONSTANT_ID_NULL
See Also:
Constant Field Values
Constructor Detail

CrmUtils

public CrmUtils()
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 buffer
strTag - The tag name of the element to add
strValue - The value of the element


Copyright © 2013 Mairie de Paris. All Rights Reserved.