public class SAXParserFactoryImpl
extends javax.xml.parsers.SAXParserFactory
javax.xml.parsers.SAXParserFactory
. This is the platform
default implementation for the platform.Constructor and Description |
---|
SAXParserFactoryImpl() |
Modifier and Type | Method and Description |
---|---|
boolean |
getFeature(java.lang.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(java.lang.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) |
public javax.xml.parsers.SAXParser newSAXParser() throws javax.xml.parsers.ParserConfigurationException
SAXParser
using the currently
configured factory parameters.newSAXParser
in class javax.xml.parsers.SAXParserFactory
javax.xml.parsers.ParserConfigurationException
public void setFeature(java.lang.String name, boolean value) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
setFeature
in class javax.xml.parsers.SAXParserFactory
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public boolean getFeature(java.lang.String name) throws javax.xml.parsers.ParserConfigurationException, org.xml.sax.SAXNotRecognizedException, org.xml.sax.SAXNotSupportedException
getFeature
in class javax.xml.parsers.SAXParserFactory
javax.xml.parsers.ParserConfigurationException
org.xml.sax.SAXNotRecognizedException
org.xml.sax.SAXNotSupportedException
public javax.xml.validation.Schema getSchema()
getSchema
in class javax.xml.parsers.SAXParserFactory
public void setSchema(javax.xml.validation.Schema grammar)
setSchema
in class javax.xml.parsers.SAXParserFactory
public boolean isXIncludeAware()
isXIncludeAware
in class javax.xml.parsers.SAXParserFactory
public void setXIncludeAware(boolean state)
setXIncludeAware
in class javax.xml.parsers.SAXParserFactory
Copyright ? 1999-2010 The Apache Software Foundation. All Rights Reserved.