Package org.xhtmlrenderer.util
Class XMLUtil
java.lang.Object
org.xhtmlrenderer.util.XMLUtil
Utility class for XML processing using DOM
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate static DocumentBuilder
static Document
documentFromFile
(String filename) static Document
documentFromString
(String documentContents)
-
Constructor Details
-
XMLUtil
public XMLUtil()
-
-
Method Details
-
documentFromString
- Throws:
Exception
-
documentFromFile
- Throws:
Exception
-
createDocumentBuilder
- Throws:
ParserConfigurationException
-