public class WstxSAXParserFactory
extends javax.xml.parsers.SAXParserFactory
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.
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
mFeatNsPrefixes
Sax feature that determines whether namespace declarations need
to be also reported as attributes or not.
|
protected WstxInputFactory |
mStaxFactory |
| Constructor and Description |
|---|
WstxSAXParserFactory() |
WstxSAXParserFactory(WstxInputFactory f) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFeature(java.lang.String name) |
javax.xml.parsers.SAXParser |
newSAXParser() |
void |
setFeature(java.lang.String name,
boolean value) |
protected final WstxInputFactory mStaxFactory
protected boolean mFeatNsPrefixes
public WstxSAXParserFactory()
public WstxSAXParserFactory(WstxInputFactory f)
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
getFeature in class javax.xml.parsers.SAXParserFactoryorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedExceptionpublic javax.xml.parsers.SAXParser newSAXParser()
newSAXParser in class javax.xml.parsers.SAXParserFactorypublic void setFeature(java.lang.String name,
boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
setFeature in class javax.xml.parsers.SAXParserFactoryorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedException