Package __redirected
Class __XMLReaderFactory
- java.lang.Object
-
- __redirected.__XMLReaderFactory
-
- All Implemented Interfaces:
org.xml.sax.XMLReader
public final class __XMLReaderFactory extends java.lang.Object implements org.xml.sax.XMLReader
A redirected SAXParserFactory
-
-
Field Summary
Fields Modifier and Type Field Description private org.xml.sax.XMLReader
actual
private static java.lang.reflect.Constructor<? extends org.xml.sax.XMLReader>
DEFAULT_FACTORY
private static java.lang.reflect.Constructor<? extends org.xml.sax.XMLReader>
PLATFORM_FACTORY
private static java.lang.String
SAX_DRIVER
-
Constructor Summary
Constructors Constructor Description __XMLReaderFactory()
Construct a new instance.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static void
changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
org.xml.sax.ContentHandler
getContentHandler()
org.xml.sax.DTDHandler
getDTDHandler()
org.xml.sax.EntityResolver
getEntityResolver()
org.xml.sax.ErrorHandler
getErrorHandler()
boolean
getFeature(java.lang.String name)
java.lang.Object
getProperty(java.lang.String name)
static void
init()
Init method.void
parse(java.lang.String systemId)
void
parse(org.xml.sax.InputSource input)
static void
restorePlatformFactory()
void
setContentHandler(org.xml.sax.ContentHandler handler)
void
setDTDHandler(org.xml.sax.DTDHandler handler)
void
setEntityResolver(org.xml.sax.EntityResolver resolver)
void
setErrorHandler(org.xml.sax.ErrorHandler handler)
void
setFeature(java.lang.String name, boolean value)
void
setProperty(java.lang.String name, java.lang.Object value)
-
-
-
Field Detail
-
PLATFORM_FACTORY
private static final java.lang.reflect.Constructor<? extends org.xml.sax.XMLReader> PLATFORM_FACTORY
-
DEFAULT_FACTORY
private static volatile java.lang.reflect.Constructor<? extends org.xml.sax.XMLReader> DEFAULT_FACTORY
-
SAX_DRIVER
private static final java.lang.String SAX_DRIVER
- See Also:
- Constant Field Values
-
actual
private final org.xml.sax.XMLReader actual
-
-
Method Detail
-
changeDefaultFactory
public static void changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
-
restorePlatformFactory
public static void restorePlatformFactory()
-
init
public static void init()
Init method.
-
getFeature
public boolean getFeature(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
- Specified by:
getFeature
in interfaceorg.xml.sax.XMLReader
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
-
setFeature
public void setFeature(java.lang.String name, boolean value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
- Specified by:
setFeature
in interfaceorg.xml.sax.XMLReader
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
-
getProperty
public java.lang.Object getProperty(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
- Specified by:
getProperty
in interfaceorg.xml.sax.XMLReader
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
-
setProperty
public void setProperty(java.lang.String name, java.lang.Object value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
- Specified by:
setProperty
in interfaceorg.xml.sax.XMLReader
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
-
setEntityResolver
public void setEntityResolver(org.xml.sax.EntityResolver resolver)
- Specified by:
setEntityResolver
in interfaceorg.xml.sax.XMLReader
-
getEntityResolver
public org.xml.sax.EntityResolver getEntityResolver()
- Specified by:
getEntityResolver
in interfaceorg.xml.sax.XMLReader
-
setDTDHandler
public void setDTDHandler(org.xml.sax.DTDHandler handler)
- Specified by:
setDTDHandler
in interfaceorg.xml.sax.XMLReader
-
getDTDHandler
public org.xml.sax.DTDHandler getDTDHandler()
- Specified by:
getDTDHandler
in interfaceorg.xml.sax.XMLReader
-
setContentHandler
public void setContentHandler(org.xml.sax.ContentHandler handler)
- Specified by:
setContentHandler
in interfaceorg.xml.sax.XMLReader
-
getContentHandler
public org.xml.sax.ContentHandler getContentHandler()
- Specified by:
getContentHandler
in interfaceorg.xml.sax.XMLReader
-
setErrorHandler
public void setErrorHandler(org.xml.sax.ErrorHandler handler)
- Specified by:
setErrorHandler
in interfaceorg.xml.sax.XMLReader
-
getErrorHandler
public org.xml.sax.ErrorHandler getErrorHandler()
- Specified by:
getErrorHandler
in interfaceorg.xml.sax.XMLReader
-
parse
public void parse(org.xml.sax.InputSource input) throws java.io.IOException, org.xml.sax.SAXException
- Specified by:
parse
in interfaceorg.xml.sax.XMLReader
- Throws:
java.io.IOException
org.xml.sax.SAXException
-
parse
public void parse(java.lang.String systemId) throws java.io.IOException, org.xml.sax.SAXException
- Specified by:
parse
in interfaceorg.xml.sax.XMLReader
- Throws:
java.io.IOException
org.xml.sax.SAXException
-
-