public class SAXParserFactoryImpl extends SAXParserFactory
javax.xml.parsers.SAXParserFactory. This is the platform
default implementation for the platform.| Constructor and Description |
|---|
SAXParserFactoryImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFeature(String name)
returns the particular property requested for in the underlying
implementation of org.xml.sax.XMLReader.
|
Schema |
getSchema() |
boolean |
isNamespaceAware() |
boolean |
isValidating() |
boolean |
isXIncludeAware() |
SAXParser |
newSAXParser()
Creates a new instance of
SAXParser using the currently
configured factory parameters. |
void |
setFeature(String name,
boolean value)
Sets the particular feature in the underlying implementation of
org.xml.sax.XMLReader.
|
void |
setNamespaceAware(boolean awareness) |
void |
setSchema(Schema grammar) |
void |
setValidating(boolean validating) |
void |
setXIncludeAware(boolean state) |
newInstance, newInstancepublic SAXParser newSAXParser() throws ParserConfigurationException
SAXParser using the currently
configured factory parameters.newSAXParser in class SAXParserFactoryParserConfigurationExceptionpublic void setFeature(String name, boolean value) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException
setFeature in class SAXParserFactoryParserConfigurationExceptionSAXNotRecognizedExceptionSAXNotSupportedExceptionpublic boolean getFeature(String name) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException
getFeature in class SAXParserFactoryParserConfigurationExceptionSAXNotRecognizedExceptionSAXNotSupportedExceptionpublic Schema getSchema()
getSchema in class SAXParserFactorypublic void setSchema(Schema grammar)
setSchema in class SAXParserFactorypublic boolean isXIncludeAware()
isXIncludeAware in class SAXParserFactorypublic void setXIncludeAware(boolean state)
setXIncludeAware in class SAXParserFactorypublic void setValidating(boolean validating)
setValidating in class SAXParserFactorypublic boolean isValidating()
isValidating in class SAXParserFactorypublic boolean isNamespaceAware()
isNamespaceAware in class SAXParserFactorypublic void setNamespaceAware(boolean awareness)
setNamespaceAware in class SAXParserFactoryCopyright © 2018–2021 mhoffrogge. All rights reserved.