com.ctc.wstx.sax
Class WstxSAXParserFactory
java.lang.Object
javax.xml.parsers.SAXParserFactory
com.ctc.wstx.sax.WstxSAXParserFactory
- public class WstxSAXParserFactory
- extends javax.xml.parsers.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.
Method Summary |
boolean |
getFeature(java.lang.String name)
|
static void |
main(java.lang.String[] args)
|
javax.xml.parsers.SAXParser |
newSAXParser()
|
void |
setFeature(java.lang.String name,
boolean value)
|
Methods inherited from class javax.xml.parsers.SAXParserFactory |
isNamespaceAware, isValidating, newInstance, setNamespaceAware, setValidating |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WstxSAXParserFactory
public WstxSAXParserFactory()
getFeature
public boolean getFeature(java.lang.String name)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
newSAXParser
public javax.xml.parsers.SAXParser newSAXParser()
setFeature
public void setFeature(java.lang.String name,
boolean value)
throws org.xml.sax.SAXNotRecognizedException,
org.xml.sax.SAXNotSupportedException
- Throws:
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
main
public static void main(java.lang.String[] args)