org.apache.xerces.jaxp
Class SAXParserImpl.JAXPSAXParser
public static
class
SAXParserImpl.JAXPSAXParser
extends SAXParser
Extension of SAXParser. This class tracks changes to
features and properties to allow the parser to be reset to
its initial state.
Method Summary |
boolean | getFeature(String name) Forward feature to the schema validator if there is one. |
Object | getProperty(String name) Forward property to the schema validator if there is one. |
void | parse(InputSource inputSource) |
void | parse(String systemId) |
void | setFeature(String name, boolean value)
Override SAXParser's setFeature method to track the initial state
of features. |
void | setProperty(String name, Object value)
Override SAXParser's setProperty method to track the initial state
of properties. |
public JAXPSAXParser()
public boolean getFeature(String name)
Forward feature to the schema validator if there is one. *
public Object getProperty(String name)
Forward property to the schema validator if there is one. *
public void parse(InputSource inputSource)
public void parse(String systemId)
public void setFeature(String name, boolean value)
Override SAXParser's setFeature method to track the initial state
of features. This keeps us from affecting the performance of the
SAXParser when it is created with XMLReaderFactory.
public void setProperty(String name, Object value)
Override SAXParser's setProperty method to track the initial state
of properties. This keeps us from affecting the performance of the
SAXParser when it is created with XMLReaderFactory.
Copyright © 1999-2005 Apache XML Project. All Rights Reserved.