public class SAXParserFactoryImpl 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.
| Constructor and Description |
|---|
SAXParserFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFeature(String name) |
static SAXParserFactory |
newInstance() |
SAXParser |
newSAXParser() |
void |
setFeature(String name,
boolean enabled) |
void |
setNamespaceAware(boolean awareness) |
void |
setValidating(boolean value) |
getSchema, isNamespaceAware, isValidating, isXIncludeAware, newInstance, setSchema, setXIncludeAwarepublic static SAXParserFactory newInstance()
public boolean getFeature(String name) throws SAXNotRecognizedException, SAXNotSupportedException
getFeature in class SAXParserFactorySAXNotRecognizedExceptionSAXNotSupportedExceptionpublic SAXParser newSAXParser()
newSAXParser in class SAXParserFactorypublic void setFeature(String name, boolean enabled) throws SAXNotRecognizedException, SAXNotSupportedException
setFeature in class SAXParserFactorySAXNotRecognizedExceptionSAXNotSupportedExceptionpublic void setNamespaceAware(boolean awareness)
setNamespaceAware in class SAXParserFactorypublic void setValidating(boolean value)
setValidating in class SAXParserFactoryCopyright © 2021 FasterXML. All rights reserved.