org.apache.xerces.jaxp

Class SAXParserFactoryImpl


public class SAXParserFactoryImpl
extends javax.xml.parsers.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 439017 2006-08-31 19:18:44Z mrglavas $
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.
javax.xml.validation.Schema
getSchema()
boolean
isXIncludeAware()
javax.xml.parsers.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(javax.xml.validation.Schema grammar)
void
setXIncludeAware(boolean state)

Methods inherited from class javax.xml.parsers.SAXParserFactory

getFeature, getSchema, isNamespaceAware, isValidating, isXIncludeAware, newInstance, newSAXParser, setFeature, setNamespaceAware, setSchema, setValidating, setXIncludeAware

Method Details

getFeature

public boolean getFeature(String name)
            throws javax.xml.parsers.ParserConfigurationException,
                   org.xml.sax.SAXNotRecognizedException,
                   org.xml.sax.SAXNotSupportedException
returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.
Overrides:
getFeature in interface javax.xml.parsers.SAXParserFactory

getSchema

public javax.xml.validation.Schema getSchema()
Overrides:
getSchema in interface javax.xml.parsers.SAXParserFactory

isXIncludeAware

public boolean isXIncludeAware()
Overrides:
isXIncludeAware in interface javax.xml.parsers.SAXParserFactory

newSAXParser

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

setFeature

public void setFeature(String name,
                       boolean value)
            throws javax.xml.parsers.ParserConfigurationException,
                   org.xml.sax.SAXNotRecognizedException,
                   org.xml.sax.SAXNotSupportedException
Sets the particular feature in the underlying implementation of org.xml.sax.XMLReader.
Overrides:
setFeature in interface javax.xml.parsers.SAXParserFactory

setSchema

public void setSchema(javax.xml.validation.Schema grammar)
Overrides:
setSchema in interface javax.xml.parsers.SAXParserFactory

setXIncludeAware

public void setXIncludeAware(boolean state)
Overrides:
setXIncludeAware in interface javax.xml.parsers.SAXParserFactory

Copyright B) 1999-2006 The Apache Software Foundation. All Rights Reserved.