Package org.apache.xerces.jaxp
Class SAXParserFactoryImpl
- java.lang.Object
-
- javax.xml.parsers.SAXParserFactory
-
- org.apache.xerces.jaxp.SAXParserFactoryImpl
-
public class SAXParserFactoryImpl extends javax.xml.parsers.SAXParserFactoryThis is the implementation specific class for thejavax.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 Constructor Description SAXParserFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetFeature(java.lang.String name)returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.javax.xml.validation.SchemagetSchema()booleanisXIncludeAware()javax.xml.parsers.SAXParsernewSAXParser()Creates a new instance ofSAXParserusing the currently configured factory parameters.voidsetFeature(java.lang.String name, boolean value)Sets the particular feature in the underlying implementation of org.xml.sax.XMLReader.voidsetSchema(javax.xml.validation.Schema grammar)voidsetXIncludeAware(boolean state)
-
-
-
Method Detail
-
newSAXParser
public javax.xml.parsers.SAXParser newSAXParser() throws javax.xml.parsers.ParserConfigurationExceptionCreates a new instance ofSAXParserusing the currently configured factory parameters.- Specified by:
newSAXParserin classjavax.xml.parsers.SAXParserFactory- Returns:
- javax.xml.parsers.SAXParser
- Throws:
javax.xml.parsers.ParserConfigurationException
-
setFeature
public void setFeature(java.lang.String name, boolean value) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedExceptionSets the particular feature in the underlying implementation of org.xml.sax.XMLReader.- Specified by:
setFeaturein classjavax.xml.parsers.SAXParserFactory- Throws:
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedException
-
getFeature
public boolean getFeature(java.lang.String name) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedExceptionreturns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.- Specified by:
getFeaturein classjavax.xml.parsers.SAXParserFactory- Throws:
javax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXNotRecognizedExceptionorg.xml.sax.SAXNotSupportedException
-
getSchema
public javax.xml.validation.Schema getSchema()
- Overrides:
getSchemain classjavax.xml.parsers.SAXParserFactory
-
setSchema
public void setSchema(javax.xml.validation.Schema grammar)
- Overrides:
setSchemain classjavax.xml.parsers.SAXParserFactory
-
isXIncludeAware
public boolean isXIncludeAware()
- Overrides:
isXIncludeAwarein classjavax.xml.parsers.SAXParserFactory
-
setXIncludeAware
public void setXIncludeAware(boolean state)
- Overrides:
setXIncludeAwarein classjavax.xml.parsers.SAXParserFactory
-
-