com.ctc.wstx.sax
Class WstxSAXParserFactory
java.lang.Object
javax.xml.parsers.SAXParserFactory
com.ctc.wstx.sax.WstxSAXParserFactory
public class WstxSAXParserFactory
- extends SAXParserFactory
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mStaxFactory
protected final WstxInputFactory mStaxFactory
mFeatNsPrefixes
protected boolean mFeatNsPrefixes
- Sax feature that determines whether namespace declarations need
to be also reported as attributes or not.
WstxSAXParserFactory
public WstxSAXParserFactory()
WstxSAXParserFactory
public WstxSAXParserFactory(WstxInputFactory f)
- Since:
- 4.0.8
getFeature
public boolean getFeature(String name)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
getFeature
in class SAXParserFactory
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
newSAXParser
public SAXParser newSAXParser()
- Specified by:
newSAXParser
in class SAXParserFactory
setFeature
public void setFeature(String name,
boolean value)
throws SAXNotRecognizedException,
SAXNotSupportedException
- Specified by:
setFeature
in class SAXParserFactory
- Throws:
SAXNotRecognizedException
SAXNotSupportedException
Copyright © 2011 Codehaus. All Rights Reserved.