org.apache.xerces.parsers
Class XIncludeParserConfiguration
java.lang.Object
|
+--org.apache.xerces.util.ParserConfigurationSettings
|
+--org.apache.xerces.parsers.BasicParserConfiguration
|
+--org.apache.xerces.parsers.DTDConfiguration
|
+--org.apache.xerces.parsers.StandardParserConfiguration
|
+--org.apache.xerces.parsers.IntegratedParserConfiguration
|
+--org.apache.xerces.parsers.XML11Configuration
|
+--org.apache.xerces.parsers.XIncludeParserConfiguration
- All Implemented Interfaces:
- org.apache.xerces.xni.parser.XMLComponentManager, org.apache.xerces.xni.parser.XMLParserConfiguration, org.apache.xerces.xni.parser.XMLPullParserConfiguration
- public class XIncludeParserConfiguration
- extends XML11Configuration
- Author:
- Peter McCracken, IBM
Field Summary |
protected static java.lang.String |
ALLOW_UE_AND_NOTATION_EVENTS
Feature identifier: allow notation and unparsed entity events to be sent out of order. |
protected static java.lang.String |
NAMESPACE_CONTEXT
Property identifier: error reporter. |
protected static java.lang.String |
XINCLUDE_HANDLER
Property identifier: error reporter. |
Fields inherited from class org.apache.xerces.parsers.DTDConfiguration |
ALLOW_JAVA_ENCODINGS, CONTINUE_AFTER_FATAL_ERROR, DATATYPE_VALIDATOR_FACTORY, DOCUMENT_SCANNER, DTD_PROCESSOR, DTD_SCANNER, DTD_VALIDATOR, ENTITY_MANAGER, ERROR_REPORTER, fDatatypeValidatorFactory, fDTDProcessor, fDTDScanner, fDTDValidator, fEntityManager, fErrorReporter, fGrammarPool, fInputSource, fLocator, fNamespaceBinder, fParseInProgress, fScanner, fValidationManager, JAXP_SCHEMA_LANGUAGE, JAXP_SCHEMA_SOURCE, LOAD_EXTERNAL_DTD, NAMESPACE_BINDER, NOTIFY_BUILTIN_REFS, NOTIFY_CHAR_REFS, PRINT_EXCEPTION_STACK_TRACE, VALIDATION_MANAGER, WARN_ON_DUPLICATE_ATTDEF, WARN_ON_DUPLICATE_ENTITYDEF, WARN_ON_UNDECLARED_ELEMDEF, XMLGRAMMAR_POOL |
Fields inherited from class org.apache.xerces.parsers.BasicParserConfiguration |
ENTITY_RESOLVER, ERROR_HANDLER, EXTERNAL_GENERAL_ENTITIES, EXTERNAL_PARAMETER_ENTITIES, fComponents, fDocumentHandler, fDTDContentModelHandler, fDTDHandler, fLastComponent, fLocale, fSymbolTable, NAMESPACES, SYMBOL_TABLE, VALIDATION, XML_STRING |
Methods inherited from class org.apache.xerces.parsers.DTDConfiguration |
cleanup, createDatatypeValidatorFactory, createDTDProcessor, createDTDScanner, createEntityManager, createErrorReporter, createNamespaceBinder, createValidationManager, parse, reset, setInputSource, setLocale |
Methods inherited from class org.apache.xerces.parsers.BasicParserConfiguration |
addComponent, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLocale, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.xerces.xni.parser.XMLParserConfiguration |
addRecognizedFeatures, addRecognizedProperties, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLocale, getProperty, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeature |
ALLOW_UE_AND_NOTATION_EVENTS
protected static final java.lang.String ALLOW_UE_AND_NOTATION_EVENTS
- Feature identifier: allow notation and unparsed entity events to be sent out of order.
XINCLUDE_HANDLER
protected static final java.lang.String XINCLUDE_HANDLER
- Property identifier: error reporter.
NAMESPACE_CONTEXT
protected static final java.lang.String NAMESPACE_CONTEXT
- Property identifier: error reporter.
XIncludeParserConfiguration
public XIncludeParserConfiguration()
- Default constructor.
XIncludeParserConfiguration
public XIncludeParserConfiguration(SymbolTable symbolTable)
- Constructs a parser configuration using the specified symbol table.
- Parameters:
symbolTable
- The symbol table to use.
XIncludeParserConfiguration
public XIncludeParserConfiguration(SymbolTable symbolTable,
org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
- Constructs a parser configuration using the specified symbol table and
grammar pool.
REVISIT:
Grammar pool will be updated when the new validation engine is
implemented.
- Parameters:
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.
XIncludeParserConfiguration
public XIncludeParserConfiguration(SymbolTable symbolTable,
org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool,
org.apache.xerces.xni.parser.XMLComponentManager parentSettings)
- Constructs a parser configuration using the specified symbol table,
grammar pool, and parent settings.
REVISIT:
Grammar pool will be updated when the new validation engine is
implemented.
- Parameters:
symbolTable
- The symbol table to use.grammarPool
- The grammar pool to use.parentSettings
- The parent settings.
configurePipeline
protected void configurePipeline()
- Configures the pipeline.
- Overrides:
configurePipeline
in class IntegratedParserConfiguration
configureDTDPipeline
protected void configureDTDPipeline()
- Overrides:
configureDTDPipeline
in class DTDConfiguration
setProperty
public void setProperty(java.lang.String propertyId,
java.lang.Object value)
throws org.apache.xerces.xni.parser.XMLConfigurationException
- Description copied from interface:
org.apache.xerces.xni.parser.XMLParserConfiguration
- Sets the value of a property. This method is called by the parser
and gets propagated to components in this parser configuration.
- Overrides:
setProperty
in class BasicParserConfiguration
- Following copied from interface:
org.apache.xerces.xni.parser.XMLParserConfiguration
- Parameters:
propertyId
- The property identifier.value
- The value of the property.- Throws:
org.apache.xerces.xni.parser.XMLConfigurationException
- Thrown if there is a configuration
error.
Copyright © 1999-2003 Apache XML Project. All Rights Reserved.