Class XmlUtil


  • public class XmlUtil
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      XmlUtil()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.xml.parsers.DocumentBuilder createDocumentBuilder()
      Create a new DocumentBuilder which processes XML securely.
      static javax.xml.parsers.SAXParser createSaxParser()
      Create a new SAXParser which processes XML securely.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XmlUtil

        public XmlUtil()
    • Method Detail

      • createDocumentBuilder

        public static javax.xml.parsers.DocumentBuilder createDocumentBuilder()
        Create a new DocumentBuilder which processes XML securely.
        Returns:
        a DocumentBuilder
      • createSaxParser

        public static javax.xml.parsers.SAXParser createSaxParser()
        Create a new SAXParser which processes XML securely.
        Returns:
        a SAXParser