Package org.apache.xerces.jaxp
Class SAXParserFactoryImpl
java.lang.Object
javax.xml.parsers.SAXParserFactory
org.apache.xerces.jaxp.SAXParserFactoryImpl
This is the implementation specific class for the
javax.xml.parsers.SAXParserFactory
. This is the platform
default implementation for the platform.- Version:
- $Id: SAXParserFactoryImpl.java 447237 2006-09-18 05:03:10Z mrglavas $
- Author:
- Rajiv Mordani, Edwin Goei
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
getFeature
(String name) returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.boolean
Creates a new instance ofSAXParser
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
void
setXIncludeAware
(boolean state) Methods inherited from class javax.xml.parsers.SAXParserFactory
isNamespaceAware, isValidating, newDefaultInstance, newDefaultNSInstance, newInstance, newInstance, newNSInstance, newNSInstance, setNamespaceAware, setValidating
-
Constructor Details
-
SAXParserFactoryImpl
public SAXParserFactoryImpl()
-
-
Method Details
-
newSAXParser
Creates a new instance ofSAXParser
using the currently configured factory parameters.- Specified by:
newSAXParser
in classSAXParserFactory
- Returns:
- javax.xml.parsers.SAXParser
- Throws:
ParserConfigurationException
-
setFeature
public void setFeature(String name, boolean value) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException Sets the particular feature in the underlying implementation of org.xml.sax.XMLReader.- Specified by:
setFeature
in classSAXParserFactory
- Throws:
ParserConfigurationException
SAXNotRecognizedException
SAXNotSupportedException
-
getFeature
public boolean getFeature(String name) throws ParserConfigurationException, SAXNotRecognizedException, SAXNotSupportedException returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.- Specified by:
getFeature
in classSAXParserFactory
- Throws:
ParserConfigurationException
SAXNotRecognizedException
SAXNotSupportedException
-
getSchema
- Overrides:
getSchema
in classSAXParserFactory
-
setSchema
- Overrides:
setSchema
in classSAXParserFactory
-
isXIncludeAware
public boolean isXIncludeAware()- Overrides:
isXIncludeAware
in classSAXParserFactory
-
setXIncludeAware
public void setXIncludeAware(boolean state) - Overrides:
setXIncludeAware
in classSAXParserFactory
-