Package com.ctc.wstx.sax
Class WstxSAXParserFactory
java.lang.Object
javax.xml.parsers.SAXParserFactory
com.ctc.wstx.sax.WstxSAXParserFactory
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
FieldsModifier and TypeFieldDescriptionprotected booleanSax feature that determines whether namespace declarations need to be also reported as attributes or not.protected final WstxInputFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFeature(String name) voidsetFeature(String name, boolean value) Methods inherited from class javax.xml.parsers.SAXParserFactory
getSchema, isNamespaceAware, isValidating, isXIncludeAware, newDefaultInstance, newDefaultNSInstance, newInstance, newInstance, newNSInstance, newNSInstance, setNamespaceAware, setSchema, setValidating, setXIncludeAware
-
Field Details
-
mStaxFactory
-
mFeatNsPrefixes
protected boolean mFeatNsPrefixesSax feature that determines whether namespace declarations need to be also reported as attributes or not.
-
-
Constructor Details
-
WstxSAXParserFactory
public WstxSAXParserFactory()- Since:
- 5.3
-
WstxSAXParserFactory
- Since:
- 4.0.8
-
-
Method Details
-
getFeature
- Specified by:
getFeaturein classSAXParserFactory- Throws:
SAXNotRecognizedExceptionSAXNotSupportedException
-
newSAXParser
- Specified by:
newSAXParserin classSAXParserFactory
-
setFeature
public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException - Specified by:
setFeaturein classSAXParserFactory- Throws:
SAXNotRecognizedExceptionSAXNotSupportedException
-