org.apache.xmlrpc.util
Class SAXParsers

java.lang.Object
  extended by org.apache.xmlrpc.util.SAXParsers

public class SAXParsers
extends java.lang.Object

Utility class for working with SAX parsers.


Constructor Summary
SAXParsers()
           
 
Method Summary
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
 

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.



Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.