public class JXSAXParserFactory extends SAXParserFactory
| Constructor and Description |
|---|
JXSAXParserFactory()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getFeature(java.lang.String name)
returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.
|
SAXParser |
newSAXParser()
Creates a new instance of a SAXParser using the currently configured factory parameters.
|
void |
setFeature(java.lang.String name, boolean value)
Sets the particular feature in the underlying implementation of org.xml.sax.XMLReader.
|
isNamespaceAware, isValidating, newInstance, setNamespaceAware, setValidatingpublic SAXParser newSAXParser() throws ParserConfigurationException, SAXException
newSAXParser in class SAXParserFactoryParserConfigurationException - if a parser cannot be created which satisfies the requested configuration.SAXException
public void setFeature(java.lang.String name,
boolean value)
throws ParserConfigurationException,
SAXNotRecognizedException,
SAXNotSupportedException
setFeature in class SAXParserFactoryname - The name of the feature to be set.value - The value of the feature to be set.java.lang.NullPointerException - If the "name" parameter is null.SAXNotRecognizedException - When the underlying XMLReader does not recognize the property name.SAXNotSupportedException - When the underlying XMLReader recognizes the property name but doesn't support the property.ParserConfigurationException - If a parser cannot be created which satisfies the requested configuration.XMLReader.setFeature(java.lang.String, boolean)
public boolean getFeature(java.lang.String name)
throws ParserConfigurationException,
SAXNotRecognizedException,
SAXNotSupportedException
getFeature in class SAXParserFactoryname - The name of the property to be retrieved. #java.lang.NullPointerException - If the "name" parameter is null.SAXNotRecognizedException - When the underlying XMLReader does not recognize the property name.SAXNotSupportedException - When the underlying XMLReader recognizes the property name but doesn't support the property.ParserConfigurationException - If a parser cannot be created which satisfies the requested configuration.XMLReader.getProperty(java.lang.String)