|
JADE v6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.xml.parsers.SAXParserFactory
com.dautelle.xml.sax.SAXParserFactoryImpl
This class represents the JAXP factory class for creating SAX parsers.
This factory creates an instance of XMLReaderImpl
.
SAX Plug-In Installation:
In order to automatically use this library's XMLReaderImpl
at run-time, you may either:
javax.xml.parsers.SAXParserFactory
system
property to com.dautelle.xml.sax.SAXParserFactoryImpl
(usually done in the $JAVA_HOME/jre/lib/jaxp.properties
file).jade.jar
in the classpath before any other
JAXP library.jade.jar
in the $JAVA_HOME/jre/lib/ext/
directory (if no other JAXP library present).
Constructor Summary | |
SAXParserFactoryImpl()
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. |
javax.xml.parsers.SAXParser |
newSAXParser()
Creates a new instance of XMLReaderImpl 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 |
isNamespaceAware, 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 SAXParserFactoryImpl()
Method Detail |
public javax.xml.parsers.SAXParser newSAXParser() throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXException
XMLReaderImpl
using the currently
configured factory parameters.
XMLReaderImpl
.
javax.xml.parsers.ParserConfigurationException
- if XMLReaderImpl
cannot
satisfy the requested configuration.
org.xml.sax.SAXException
- any SAX exception, possibly wrapping another
exception.public boolean getFeature(java.lang.String name) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
name
- the name of the property to be retrieved.
javax.xml.parsers.ParserConfigurationException
- if XMLReaderImpl
cannot
satisfy the requested configuration.
org.xml.sax.SAXNotRecognizedException
- when the underlying XMLReader does
not recognize the property name.
org.xml.sax.SAXNotSupportedException
- when the underlying XMLReader
recognizes the property name but doesn't support the property.public void setFeature(java.lang.String name, boolean value) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
name
- the name of the feature to be set.value
- the value of the feature to be set.
javax.xml.parsers.ParserConfigurationException
- if XMLReaderImpl
cannot
satisfy the requested configuration.
org.xml.sax.SAXNotRecognizedException
- when the underlying XMLReader does
not recognize the property name.
org.xml.sax.SAXNotSupportedException
- when the underlying XMLReader does
recognizes the property name but doesn't support the property.
|
JADE v6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |