com.fasterxml.aalto.sax
Class SAXParserFactoryImpl
java.lang.Object
javax.xml.parsers.SAXParserFactory
com.fasterxml.aalto.sax.SAXParserFactoryImpl
public class SAXParserFactoryImpl
- extends javax.xml.parsers.SAXParserFactory
This is implementation of the main JAXP SAX factory, and as such
acts as the entry point from JAXP.
Note: most of the SAX features are not configurable as of yet.
However, effort is made to recognize all existing standard features
and properties, to allow using code to figure out existing
capabilities automatically.
| Methods inherited from class javax.xml.parsers.SAXParserFactory |
getSchema, isNamespaceAware, isValidating, isXIncludeAware, newInstance, newInstance, setSchema, setXIncludeAware |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAXParserFactoryImpl
public SAXParserFactoryImpl()
getFeature
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Specified by:
getFeature in class javax.xml.parsers.SAXParserFactory
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
newSAXParser
public javax.xml.parsers.SAXParser newSAXParser()
- Specified by:
newSAXParser in class javax.xml.parsers.SAXParserFactory
setFeature
public void setFeature(java.lang.String name,
boolean enabled)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Specified by:
setFeature in class javax.xml.parsers.SAXParserFactory
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
setNamespaceAware
public void setNamespaceAware(boolean awareness)
- Overrides:
setNamespaceAware in class javax.xml.parsers.SAXParserFactory
setValidating
public void setValidating(boolean value)
- Overrides:
setValidating in class javax.xml.parsers.SAXParserFactory