|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.xerces.util.ParserConfigurationSettings
org.apache.xerces.parsers.XML11Configuration
org.apache.xerces.parsers.XIncludeAwareParserConfiguration
public class XIncludeAwareParserConfiguration
This class is the configuration used to parse XML 1.0 and XML 1.1 documents and provides support for XInclude. This is the default Xerces configuration.
| Constructor Summary | |
|---|---|
XIncludeAwareParserConfiguration()
Default constructor. |
|
XIncludeAwareParserConfiguration(SymbolTable symbolTable)
Constructs a parser configuration using the specified symbol table. |
|
XIncludeAwareParserConfiguration(SymbolTable symbolTable,
XMLGrammarPool grammarPool)
Constructs a parser configuration using the specified symbol table and grammar pool. |
|
XIncludeAwareParserConfiguration(SymbolTable symbolTable,
XMLGrammarPool grammarPool,
XMLComponentManager parentSettings)
Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings. |
|
| Method Summary | |
|---|---|
boolean |
getFeature(java.lang.String featureId)
Returns the state of a feature. |
void |
setFeature(java.lang.String featureId,
boolean state)
Set the state of a feature. |
| Methods inherited from class org.apache.xerces.parsers.XML11Configuration |
|---|
cleanup, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLocale, parse, parse, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setInputSource, setLocale, setProperty |
| Methods inherited from class org.apache.xerces.util.ParserConfigurationSettings |
|---|
addRecognizedFeatures, addRecognizedProperties, getProperty |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.xerces.xni.parser.XMLParserConfiguration |
|---|
addRecognizedFeatures, addRecognizedProperties, getProperty |
| Constructor Detail |
|---|
public XIncludeAwareParserConfiguration()
public XIncludeAwareParserConfiguration(SymbolTable symbolTable)
symbolTable - The symbol table to use.
public XIncludeAwareParserConfiguration(SymbolTable symbolTable,
XMLGrammarPool grammarPool)
symbolTable - The symbol table to use.grammarPool - The grammar pool to use.
public XIncludeAwareParserConfiguration(SymbolTable symbolTable,
XMLGrammarPool grammarPool,
XMLComponentManager parentSettings)
symbolTable - The symbol table to use.grammarPool - The grammar pool to use.parentSettings - The parent settings.| Method Detail |
|---|
public boolean getFeature(java.lang.String featureId)
throws XMLConfigurationException
XML11Configuration
getFeature in interface XMLComponentManagergetFeature in interface XMLParserConfigurationgetFeature in class XML11ConfigurationfeatureId - The feature identifier.
XMLConfigurationException - Thrown for configuration error.
In general, components should
only throw this exception if
it is really
a critical error.
public void setFeature(java.lang.String featureId,
boolean state)
throws XMLConfigurationException
XML11Configuration
setFeature in interface XMLParserConfigurationsetFeature in class XML11ConfigurationfeatureId - The unique identifier (URI) of the feature.state - The requested state of the feature (true or false).
XMLConfigurationException - Thrown if there is a configuration
error.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||