| java.lang.Object info.jtrac.util.XmlUtils
XmlUtils | final public class XmlUtils (Code) | | Utilities to parse strings into XML DOM Documents and vice versa
|
getAsPrettyXml | public static String getAsPrettyXml(String xmlString)(Code) | | uses Dom4j to neatly format a given XML string
by adding indents, newlines etc.
|
getAsPrettyXml | public static String getAsPrettyXml(Document document)(Code) | | Override that accepts an XML DOM Document
Parameters: document - XML as DOM Document |
getNewDocument | public static Document getNewDocument(String rootElementName)(Code) | | |
getNewElement | public static Element getNewElement(String name)(Code) | | |
parse | public static Document parse(String xmlString)(Code) | | Converts a String into XML by parsing into a DOM Document
uses Dom4j
|
transform | public static Document transform(Document source, Document stylesheet)(Code) | | |
|
|