org.apache.xerces.jaxp
Class SAXParserFactoryImpl
java.lang.Object
javax.xml.parsers.SAXParserFactory
org.apache.xerces.jaxp.SAXParserFactoryImpl
public class SAXParserFactoryImpl
- extends SAXParserFactory
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SAXParserFactoryImpl
public SAXParserFactoryImpl()
newSAXParser
public SAXParser newSAXParser()
throws ParserConfigurationException
- Creates a new instance of
SAXParser
using the currently
configured factory parameters.
- Specified by:
newSAXParser
in class SAXParserFactory
- 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 class SAXParserFactory
- 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 class SAXParserFactory
- Throws:
ParserConfigurationException
SAXNotRecognizedException
SAXNotSupportedException
getSchema
public Schema getSchema()
- Overrides:
getSchema
in class SAXParserFactory
setSchema
public void setSchema(Schema grammar)
- Overrides:
setSchema
in class SAXParserFactory
isXIncludeAware
public boolean isXIncludeAware()
- Overrides:
isXIncludeAware
in class SAXParserFactory
setXIncludeAware
public void setXIncludeAware(boolean state)
- Overrides:
setXIncludeAware
in class SAXParserFactory
Copyright © 2011. All Rights Reserved.