org.xml.sax.XMLReader
public final class __XMLReaderFactory
extends java.lang.Object
implements org.xml.sax.XMLReader
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
SAX_DRIVER |
Constructor | Description |
---|---|
__XMLReaderFactory() |
Construct a new instance.
|
Modifier and Type | Method | Description |
---|---|---|
static void |
changeDefaultFactory(java.lang.String id,
ModuleLoader loader) |
|
static void |
changeDefaultFactory(ModuleIdentifier id,
ModuleLoader loader) |
Deprecated.
|
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() |
Deprecated.
|
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) |
public static final java.lang.String SAX_DRIVER
@Deprecated public static void changeDefaultFactory(ModuleIdentifier id, ModuleLoader loader)
public static void changeDefaultFactory(java.lang.String id, ModuleLoader loader)
public static void restorePlatformFactory()
@Deprecated public static void init()
public boolean getFeature(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
getFeature
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setFeature(java.lang.String name, boolean value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
setFeature
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public java.lang.Object getProperty(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
getProperty
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setProperty(java.lang.String name, java.lang.Object value) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
setProperty
in interface org.xml.sax.XMLReader
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setEntityResolver(org.xml.sax.EntityResolver resolver)
setEntityResolver
in interface org.xml.sax.XMLReader
public org.xml.sax.EntityResolver getEntityResolver()
getEntityResolver
in interface org.xml.sax.XMLReader
public void setDTDHandler(org.xml.sax.DTDHandler handler)
setDTDHandler
in interface org.xml.sax.XMLReader
public org.xml.sax.DTDHandler getDTDHandler()
getDTDHandler
in interface org.xml.sax.XMLReader
public void setContentHandler(org.xml.sax.ContentHandler handler)
setContentHandler
in interface org.xml.sax.XMLReader
public org.xml.sax.ContentHandler getContentHandler()
getContentHandler
in interface org.xml.sax.XMLReader
public void setErrorHandler(org.xml.sax.ErrorHandler handler)
setErrorHandler
in interface org.xml.sax.XMLReader
public org.xml.sax.ErrorHandler getErrorHandler()
getErrorHandler
in interface org.xml.sax.XMLReader
public void parse(org.xml.sax.InputSource input) throws java.io.IOException, org.xml.sax.SAXException
parse
in interface org.xml.sax.XMLReader
java.io.IOException
org.xml.sax.SAXException
public void parse(java.lang.String systemId) throws java.io.IOException, org.xml.sax.SAXException
parse
in interface org.xml.sax.XMLReader
java.io.IOException
org.xml.sax.SAXException
Copyright © 2022 JBoss by Red Hat. All rights reserved.