javax.xml.parsers
public abstract class SAXParserFactory extends Object
Version: 1.0
Constructor Summary | |
---|---|
protected | SAXParserFactory() |
Method Summary | |
---|---|
abstract boolean | getFeature(String name)
Retrieves a current factory feature flag setting.
|
boolean | isNamespaceAware() |
boolean | isValidating() |
static SAXParserFactory | newInstance() |
abstract SAXParser | newSAXParser()
Returns a new instance of a SAXParser using the platform
default implementation and the currently specified factory
feature flag settings.
|
abstract void | setFeature(String name, boolean value)
Establishes a factory parameter corresponding to the
specified feature flag.
|
void | setNamespaceAware(boolean value) |
void | setValidating(boolean value) |
Parameters: name identifies the feature flag
Throws: SAXNotRecognizedException if the specified SAX2 feature flag is not recognized SAXNotSupportedException if the specified SAX2 feature flag values can not be accessed before parsing begins.
Throws: ParserConfigurationException when the parameter combination is not supported SAXNotRecognizedException if one of the specified SAX2 feature flags is not recognized SAXNotSupportedException if one of the specified SAX2 feature flags values can not be set, perhaps because of sequencing requirements (which could be met by using SAX2 directly)
Parameters: name identifies the feature flag value specifies the desired flag value
Throws: SAXNotRecognizedException if the specified SAX2 feature flag is not recognized SAXNotSupportedException if the specified SAX2 feature flag values can not be set, perhaps because of sequencing requirements (which could be met by using SAX2 directly)
Source code is under GPL (with library exception) in the JAXP project at http://www.gnu.org/software/classpathx/jaxp
This documentation was derived from that source code on 2013-01-12.