public class WstxSAXParserFactory extends 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(String name) |
SAXParser |
newSAXParser() |
void |
setFeature(String name,
boolean value) |
getSchema, isNamespaceAware, isValidating, isXIncludeAware, newInstance, newInstance, setNamespaceAware, setSchema, setValidating, setXIncludeAware
protected final WstxInputFactory mStaxFactory
protected boolean mFeatNsPrefixes
public WstxSAXParserFactory()
public WstxSAXParserFactory(WstxInputFactory f)
public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException
getFeature
in class SAXParserFactory
SAXNotRecognizedException
SAXNotSupportedException
public SAXParser newSAXParser()
newSAXParser
in class SAXParserFactory
public void setFeature(String name, boolean value) throws SAXNotRecognizedException, SAXNotSupportedException
setFeature
in class SAXParserFactory
SAXNotRecognizedException
SAXNotSupportedException
Copyright © 2018 FasterXML. All rights reserved.