| java.lang.Object com.flexive.shared.FxXMLUtils
FxXMLUtils | public class FxXMLUtils (Code) | | XML Utilities
author: Markus Plesser (markus.plesser@flexive.com), UCS - unique computing solutions gmbh (http://www.ucs.at) |
fromCData | public static String fromCData(String cdata)(Code) | | Convert a CData back to a String
Parameters: cdata - CData to convert String |
getElementData | public static String getElementData(String xml, String element)(Code) | | Get the character content of an element in xml data
Parameters: xml - the complete xml data Parameters: element - requested element data |
toCData | public static String toCData(String content)(Code) | | Convert a content to CDATA and preserve all existing CDATA
Parameters: content - content to convert character data encoded content |
toXML | public static String toXML(XStream xStream, Object object)(Code) | | Convenience method to create a more compact XML representation
of an object than
com.thoughtworks.xstream.XStream.toXML(Object) creates (no pretty-printing).
Parameters: xStream - the xstream instance Parameters: object - the object to be marshalled the XML representation of the object |
|
|