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.

Method Summary

boolean
getFeature(String name)
returns the particular property requested for in the underlying implementation of org.xml.sax.XMLReader.
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.

Methods inherited from class javax.xml.parsers.SAXParserFactory

getFeature, isNamespaceAware, isValidating, newInstance, newSAXParser, setFeature, setNamespaceAware, setValidating

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


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


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