gnu.xml.aelfred2
Class JAXPFactory
java.lang.Object
javax.xml.parsers.SAXParserFactory
gnu.xml.aelfred2.JAXPFactory
- public final class JAXPFactory
- extends javax.xml.parsers.SAXParserFactory
Configurable factory to create an Ælfred2 JAXP parser; required
to bootstrap using JAXP. You should use SAX2 directly where possible,
rather than through JAXP, since that gives you better control.
This class would normally be configured as a platform default factory.
- Author:
- David Brownell
Constructor Summary |
JAXPFactory()
Constructs a factory which normally returns a non-validating
parser. |
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 |
JAXPFactory
public JAXPFactory()
- Constructs a factory which normally returns a non-validating
parser.
newSAXParser
public javax.xml.parsers.SAXParser newSAXParser()
throws javax.xml.parsers.ParserConfigurationException,
SAXException
- Throws:
javax.xml.parsers.ParserConfigurationException
SAXException
setFeature
public void setFeature(java.lang.String name,
boolean value)
throws javax.xml.parsers.ParserConfigurationException,
SAXNotRecognizedException,
SAXNotSupportedException
- Throws:
javax.xml.parsers.ParserConfigurationException
SAXNotRecognizedException
SAXNotSupportedException
getFeature
public boolean getFeature(java.lang.String name)
throws javax.xml.parsers.ParserConfigurationException,
SAXNotRecognizedException,
SAXNotSupportedException
- Throws:
javax.xml.parsers.ParserConfigurationException
SAXNotRecognizedException
SAXNotSupportedException
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 2008-10-18.