Class XMLUtility

java.lang.Object
com.softwaremining.platformutils.XMLUtility

public class XMLUtility extends Object
  • Constructor Details

    • XMLUtility

      public XMLUtility()
  • Method Details

    • toXML

      public static String toXML(CBLBean theBean)
      Creates a java.beans.XMLDecoder compatible xml NOTE: all integers/doubles will use String property
    • toXML

      public static String toXML(CBLBean[] beans)
      Creates a java.beans.XMLDecoder compatible xml NOTE: all integers/doubles will use String property
    • toBean

      public static ISMBean toBean(String xml)
      Convert a java.beans.XMLDecoder compatible xml to a Bean
      Parameters:
      xml -
      Returns:
    • toBeans

      public static ISMBean[] toBeans(String xml)
      converts a XML Object to .CBLBean class;
      Returns:
      XML representation of CBLBean