|
Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--javax.xml.parsers.SAXParserFactory
|
+--oracle.xml.jaxp.JXSAXParserFactory
Defines a factory API that enables applications to configure and obtain a SAX based parser to parse XML documents.
| Constructor Summary | |
JXSAXParserFactory()Default Constructor | |
| Method Summary | |
boolean |
getFeature(java.lang.String name)returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader. |
boolean |
isNamespaceAware()Indicates whether or not the factory is configured to produce parsers which are namespace aware. |
SAXParser |
newSAXParser()Creates a new instance of a SAXParser using the currently configured factory parameters. |
void |
setFeature(java.lang.String name, boolean value)Sets the particular feature in the underlying implementation of org.xml.sax.XMLReader. |
| Methods inherited from class javax.xml.parsers.SAXParserFactory |
isValidating, newInstance, setNamespaceAware, setValidating |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JXSAXParserFactory()
| Method Detail |
public SAXParser newSAXParser()
throws ParserConfigurationException,
SAXException
newSAXParser in class SAXParserFactoryParserConfigurationException - if a parser cannot be created which satisfies the requested configuration.SAXExceptionpublic boolean isNamespaceAware()
isNamespaceAware in class SAXParserFactory
public void setFeature(java.lang.String name,
boolean value)
throws ParserConfigurationException,
SAXNotRecognizedException,
SAXNotSupportedException
setFeature in class SAXParserFactoryname - The name of the feature to be set.value - The value of the feature to be set.SAXNotRecognizedException - When the underlying XMLReader does not recognize the property name.SAXNotSupportedException - When the underlying XMLReader recognizes the property name but doesn't support the property.ParserConfigurationExceptionXMLReader.setFeature(java.lang.String, boolean)
public boolean getFeature(java.lang.String name)
throws ParserConfigurationException,
SAXNotRecognizedException,
SAXNotSupportedException
getFeature in class SAXParserFactoryname - The name of the property to be retrieved.SAXNotRecognizedException - When the underlying XMLReader does not recognize the property name.SAXNotSupportedException - When the underlying XMLReader recognizes the property name but doesn't support the property.ParserConfigurationExceptionXMLReader.getProperty(java.lang.String)
|
Oracle® XML Java API Reference Release 1 (10.1) B12024-01 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||