Package com.itextpdf.io.util
Class XmlUtil
java.lang.Object
com.itextpdf.io.util.XmlUtil
This file is a helper class for internal usage only. Be aware that its API and functionality may be changed in future.
-
Method Summary
Modifier and TypeMethodDescriptionstatic SAXParserFactory
Creates default SAX parser factory.static DocumentBuilderFactory
Creates default document builder factory.static Document
This method creates a new empty Xml document.
-
Method Details
-
getDocumentBuilderFactory
Creates default document builder factory.- Returns:
- document builder factory implementation
-
createSAXParserFactory
Creates default SAX parser factory.- Returns:
- SAX parser factory implementation
-
initNewXmlDocument
This method creates a new empty Xml document.- Returns:
- a new Xml document
- Throws:
-
ParserConfigurationException
- if an error occurs while creating the document
-