public class SAXParserFactoryImpl
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 |
---|---|
(package private) InputFactoryImpl |
mStaxFactory |
Constructor and Description |
---|
SAXParserFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
getFeature(java.lang.String name) |
static javax.xml.parsers.SAXParserFactory |
newInstance() |
javax.xml.parsers.SAXParser |
newSAXParser() |
void |
setFeature(java.lang.String name,
boolean enabled) |
void |
setNamespaceAware(boolean awareness) |
void |
setValidating(boolean value) |
final InputFactoryImpl mStaxFactory
public static javax.xml.parsers.SAXParserFactory newInstance()
public boolean getFeature(java.lang.String name) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
getFeature
in class javax.xml.parsers.SAXParserFactory
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public javax.xml.parsers.SAXParser newSAXParser()
newSAXParser
in class javax.xml.parsers.SAXParserFactory
public void setFeature(java.lang.String name, boolean enabled) throws org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
setFeature
in class javax.xml.parsers.SAXParserFactory
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public void setNamespaceAware(boolean awareness)
setNamespaceAware
in class javax.xml.parsers.SAXParserFactory
public void setValidating(boolean value)
setValidating
in class javax.xml.parsers.SAXParserFactory