Package opennlp.tools.util
Class XmlUtil
- java.lang.Object
-
- opennlp.tools.util.XmlUtil
-
public class XmlUtil extends Object
-
-
Constructor Summary
Constructors Constructor Description XmlUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DocumentBuilder
createDocumentBuilder()
Create a new DocumentBuilder which processes XML securely.static SAXParser
createSaxParser()
Create a new SAXParser which processes XML securely.
-
-
-
Method Detail
-
createDocumentBuilder
public static DocumentBuilder createDocumentBuilder()
Create a new DocumentBuilder which processes XML securely.- Returns:
- a DocumentBuilder
-
createSaxParser
public static SAXParser createSaxParser()
Create a new SAXParser which processes XML securely.- Returns:
- a SAXParser
-
-