Class SAXParsers


  • public class SAXParsers
    extends java.lang.Object
    Utility class for working with SAX parsers.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static javax.xml.parsers.SAXParserFactory spf  
    • Constructor Summary

      Constructors 
      Constructor Description
      SAXParsers()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static javax.xml.parsers.SAXParserFactory getSAXParserFactory()
      Returns the SAX parser factory, which is used by Apache XML-RPC.
      static org.xml.sax.XMLReader newXMLReader()
      Creates a new instance of XMLReader.
      static void setSAXParserFactory​(javax.xml.parsers.SAXParserFactory pFactory)
      Sets the SAX parser factory, which is used by Apache XML-RPC.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • spf

        private static javax.xml.parsers.SAXParserFactory spf
    • Constructor Detail

      • SAXParsers

        public SAXParsers()
    • Method Detail

      • newXMLReader

        public static org.xml.sax.XMLReader newXMLReader()
                                                  throws XmlRpcException
        Creates a new instance of XMLReader.
        Throws:
        XmlRpcException
      • getSAXParserFactory

        public static javax.xml.parsers.SAXParserFactory getSAXParserFactory()
        Returns the SAX parser factory, which is used by Apache XML-RPC. You may use this to configure the factory.
      • setSAXParserFactory

        public static void setSAXParserFactory​(javax.xml.parsers.SAXParserFactory pFactory)
        Sets the SAX parser factory, which is used by Apache XML-RPC. You may use this to configure another instance than the default.