org.apache.xerces.jaxp

Class 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,v 1.12 2005/06/10 03:20:41 mrglavas Exp $
Authors:
Rajiv Mordani
Edwin Goei

Method Summary

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 of SAXParser 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)

Method Details

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.

getSchema

public Schema getSchema()

isXIncludeAware

public boolean isXIncludeAware()

newSAXParser

public SAXParser newSAXParser()
            throws ParserConfigurationException
Creates a new instance of SAXParser using the currently configured factory parameters.
Returns:
javax.xml.parsers.SAXParser

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.

setSchema

public void setSchema(Schema grammar)

setXIncludeAware

public void setXIncludeAware(boolean state)

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.