Class SAXParserFactoryImpl
- java.lang.Object
-
- javax.xml.parsers.SAXParserFactory
-
- org.smooks.engine.delivery.sax.ng.org.apache.xerces.jaxp.SAXParserFactoryImpl
-
public class SAXParserFactoryImpl extends SAXParserFactory
This is the implementation specific class for thejavax.xml.parsers.SAXParserFactory
. This is the platform default implementation for the platform.- Version:
- $Id$
- Author:
- Rajiv Mordani, Edwin Goei
-
-
Constructor Summary
Constructors Constructor Description SAXParserFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getFeature(String name)
returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.Schema
getSchema()
boolean
isXIncludeAware()
SAXParser
newSAXParser()
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
setSchema(Schema grammar)
void
setXIncludeAware(boolean state)
-
Methods inherited from class javax.xml.parsers.SAXParserFactory
isNamespaceAware, isValidating, newInstance, newInstance, setNamespaceAware, setValidating
-
-
-
-
Method Detail
-
newSAXParser
public SAXParser newSAXParser() throws ParserConfigurationException
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
public Schema getSchema()
- Overrides:
getSchema
in classSAXParserFactory
-
setSchema
public void setSchema(Schema grammar)
- Overrides:
setSchema
in classSAXParserFactory
-
isXIncludeAware
public boolean isXIncludeAware()
- Overrides:
isXIncludeAware
in classSAXParserFactory
-
setXIncludeAware
public void setXIncludeAware(boolean state)
- Overrides:
setXIncludeAware
in classSAXParserFactory
-
-