org.apache.xerces.jaxp
Class SAXParserFactoryImpl
java.lang.Object
|
+--javax.xml.parsers.SAXParserFactory
|
+--org.apache.xerces.jaxp.SAXParserFactoryImpl
- public class SAXParserFactoryImpl
- extends javax.xml.parsers.SAXParserFactory
The SAXParserFactory
implementation for the Apache Xerces
XML parser.
- Version:
- $Revision: 1.3 $ $Date: 2000/11/16 00:57:43 $
- Author:
- Pierpaolo Fumagalli
(Apache Software Foundation, Exoffice Technologies)
Method Summary |
boolean |
getFeature(java.lang.String name)
returns the particular property requested for in the underlying
implementation of org.xml.sax.XMLReader. |
javax.xml.parsers.SAXParser |
newSAXParser()
Returns a new configured instance of type SAXParser . |
void |
setFeature(java.lang.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 |
isNamespaceAware,
isValidating,
newInstance,
setNamespaceAware,
setValidating |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
SAXParserFactoryImpl
public SAXParserFactoryImpl()
- Create a new
SAXParserFactoryImpl
instance.
newSAXParser
public javax.xml.parsers.SAXParser newSAXParser()
throws javax.xml.parsers.ParserConfigurationException
- Returns a new configured instance of type
SAXParser
.
- Overrides:
- newSAXParser in class javax.xml.parsers.SAXParserFactory
- Tags copied from class: javax.xml.parsers.SAXParserFactory
- Throws:
- javax.xml.parsers.ParserConfigurationException - if a parser cannot
be created which satisfies the requested configuration.
setFeature
public void setFeature(java.lang.String name,
boolean value)
throws javax.xml.parsers.ParserConfigurationException,
SAXNotRecognizedException,
SAXNotSupportedException
- Sets the particular feature in the underlying implementation of
org.xml.sax.XMLReader.
- Overrides:
- setFeature in class javax.xml.parsers.SAXParserFactory
- Tags copied from class: javax.xml.parsers.SAXParserFactory
- Parameters:
name
- The name of the feature to be set.value
- The value of the feature to be set.- Throws:
- SAXNotRecognizedException - When the underlying XMLReader does
not recognize the property name.
- SAXNotSupportedException - When the underlying XMLReader
recognizes the property name but doesn't support the
property.
- See Also:
XMLReader.setFeature(java.lang.String, boolean)
getFeature
public boolean getFeature(java.lang.String name)
throws javax.xml.parsers.ParserConfigurationException,
SAXNotRecognizedException,
SAXNotSupportedException
- returns the particular property requested for in the underlying
implementation of org.xml.sax.XMLReader.
- Overrides:
- getFeature in class javax.xml.parsers.SAXParserFactory
- Tags copied from class: javax.xml.parsers.SAXParserFactory
- Parameters:
name
- The name of the property to be retrieved.- Returns:
- Value of the requested property.
- Throws:
- SAXNotRecognizedException - When the underlying XMLReader does
not recognize the property name.
- SAXNotSupportedException - When the underlying XMLReader
recognizes the property name but doesn't support the
property.
- See Also:
XMLReader.getProperty(java.lang.String)
Copyright © 1999-2000 Apache XML Project. All Rights Reserved.