Package com.fasterxml.aalto.sax
Class SAXParserFactoryImpl
java.lang.Object
javax.xml.parsers.SAXParserFactory
com.fasterxml.aalto.sax.SAXParserFactoryImpl
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFeature(String name) static SAXParserFactoryvoidsetFeature(String name, boolean enabled) voidsetNamespaceAware(boolean awareness) voidsetValidating(boolean value) Methods inherited from class javax.xml.parsers.SAXParserFactory
getSchema, isNamespaceAware, isValidating, isXIncludeAware, newDefaultInstance, newDefaultNSInstance, newInstance, newNSInstance, newNSInstance, setSchema, setXIncludeAware
-
Field Details
-
mStaxFactory
-
-
Constructor Details
-
SAXParserFactoryImpl
public SAXParserFactoryImpl()
-
-
Method Details
-
newInstance
-
getFeature
- Specified by:
getFeaturein classSAXParserFactory- Throws:
SAXNotRecognizedExceptionSAXNotSupportedException
-
newSAXParser
- Specified by:
newSAXParserin classSAXParserFactory
-
setFeature
public void setFeature(String name, boolean enabled) throws SAXNotRecognizedException, SAXNotSupportedException - Specified by:
setFeaturein classSAXParserFactory- Throws:
SAXNotRecognizedExceptionSAXNotSupportedException
-
setNamespaceAware
public void setNamespaceAware(boolean awareness) - Overrides:
setNamespaceAwarein classSAXParserFactory
-
setValidating
public void setValidating(boolean value) - Overrides:
setValidatingin classSAXParserFactory
-