org.decisiondeck.utils
Class XmlUtils
java.lang.Object
org.decisiondeck.utils.XmlUtils
public class XmlUtils
- extends Object
XmlUtils
public XmlUtils()
readNode
public static Node readNode(URL url)
throws XmlException,
IOException
- Throws:
XmlException
IOException
readNode
public static Node readNode(InputSupplier<InputStream> source)
throws IOException,
XmlException
- Throws:
IOException
XmlException
toString
public static String toString(Node node)
newDocument
public static Document newDocument(Document source)
getChildsTextContents
public static Map<String,String> getChildsTextContents(Node parent)
write
public static void write(String contents,
File outFile)
throws IOException,
TransformerException
- Throws:
IOException
TransformerException
Copyright © 2011. All Rights Reserved.