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 TypeMethodDescriptionboolean
getFeature
(String name) static SAXParserFactory
void
setFeature
(String name, boolean enabled) void
setNamespaceAware
(boolean awareness) void
setValidating
(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:
getFeature
in classSAXParserFactory
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
newSAXParser
- Specified by:
newSAXParser
in classSAXParserFactory
-
setFeature
public void setFeature(String name, boolean enabled) throws SAXNotRecognizedException, SAXNotSupportedException - Specified by:
setFeature
in classSAXParserFactory
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
-
setNamespaceAware
public void setNamespaceAware(boolean awareness) - Overrides:
setNamespaceAware
in classSAXParserFactory
-
setValidating
public void setValidating(boolean value) - Overrides:
setValidating
in classSAXParserFactory
-