Home » Xerces-J-src.2.9.1 » org.apache.xerces » parsers » [javadoc | source]
org.apache.xerces.parsers
public class: IntegratedParserConfiguration [javadoc | source]
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

All Implemented Interfaces:
    XMLPullParserConfiguration, XMLParserConfiguration, XMLComponentManager

This is configuration uses a scanner that integrates both scanning of the document and binding namespaces. If namespace feature is turned on, the pipeline is constructured with the following components: XMLNSDocumentScannerImpl -> XMLNSDTDValidator -> (optional) XMLSchemaValidator If the namespace feature is turned off the default document scanner implementation is used (XMLDocumentScannerImpl).

In addition to the features and properties recognized by the base parser configuration, this class recognizes these additional features and properties:

Field Summary
protected  XMLNSDocumentScannerImpl fNamespaceScanner    Document scanner that does namespace binding. 
protected  XMLDocumentScannerImpl fNonNSScanner    Default Xerces implementation of scanner 
protected  XMLDTDValidator fNonNSDTDValidator    DTD Validator that does not bind namespaces 
Fields inherited from org.apache.xerces.parsers.StandardParserConfiguration:
NORMALIZE_DATA,  SCHEMA_ELEMENT_DEFAULT,  SCHEMA_AUGMENT_PSVI,  XMLSCHEMA_VALIDATION,  XMLSCHEMA_FULL_CHECKING,  GENERATE_SYNTHETIC_ANNOTATIONS,  VALIDATE_ANNOTATIONS,  HONOUR_ALL_SCHEMALOCATIONS,  IGNORE_XSI_TYPE,  ID_IDREF_CHECKING,  UNPARSED_ENTITY_CHECKING,  IDENTITY_CONSTRAINT_CHECKING,  SCHEMA_VALIDATOR,  SCHEMA_LOCATION,  SCHEMA_NONS_LOCATION,  ROOT_TYPE_DEF,  fSchemaValidator
Fields inherited from org.apache.xerces.parsers.DTDConfiguration:
WARN_ON_DUPLICATE_ATTDEF,  WARN_ON_DUPLICATE_ENTITYDEF,  WARN_ON_UNDECLARED_ELEMDEF,  ALLOW_JAVA_ENCODINGS,  CONTINUE_AFTER_FATAL_ERROR,  LOAD_EXTERNAL_DTD,  NOTIFY_BUILTIN_REFS,  NOTIFY_CHAR_REFS,  ERROR_REPORTER,  ENTITY_MANAGER,  DOCUMENT_SCANNER,  DTD_SCANNER,  XMLGRAMMAR_POOL,  DTD_PROCESSOR,  DTD_VALIDATOR,  NAMESPACE_BINDER,  DATATYPE_VALIDATOR_FACTORY,  VALIDATION_MANAGER,  JAXP_SCHEMA_LANGUAGE,  JAXP_SCHEMA_SOURCE,  PRINT_EXCEPTION_STACK_TRACE,  fGrammarPool,  fDatatypeValidatorFactory,  fErrorReporter,  fEntityManager,  fScanner,  fInputSource,  fDTDScanner,  fDTDProcessor,  fDTDValidator,  fNamespaceBinder,  fValidationManager,  fLocator,  fParseInProgress
Fields inherited from org.apache.xerces.parsers.BasicParserConfiguration:
VALIDATION,  NAMESPACES,  EXTERNAL_GENERAL_ENTITIES,  EXTERNAL_PARAMETER_ENTITIES,  XML_STRING,  SYMBOL_TABLE,  ERROR_HANDLER,  ENTITY_RESOLVER,  fSymbolTable,  fLocale,  fComponents,  fDocumentHandler,  fDTDHandler,  fDTDContentModelHandler,  fLastComponent
Fields inherited from org.apache.xerces.util.ParserConfigurationSettings:
PARSER_SETTINGS,  fRecognizedProperties,  fProperties,  fRecognizedFeatures,  fFeatures,  fParentSettings
Constructor:
 public IntegratedParserConfiguration() 
 public IntegratedParserConfiguration(SymbolTable symbolTable) 
    Constructs a parser configuration using the specified symbol table.
    Parameters:
    symbolTable - The symbol table to use.
 public IntegratedParserConfiguration(SymbolTable symbolTable,
    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.
 public IntegratedParserConfiguration(SymbolTable symbolTable,
    XMLGrammarPool grammarPool,
    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.
Method from org.apache.xerces.parsers.IntegratedParserConfiguration Summary:
configurePipeline,   createDTDValidator,   createDocumentScanner
Methods from org.apache.xerces.parsers.StandardParserConfiguration:
checkFeature,   checkProperty,   configurePipeline
Methods from org.apache.xerces.parsers.DTDConfiguration:
checkFeature,   checkProperty,   cleanup,   configureDTDPipeline,   configurePipeline,   createDTDProcessor,   createDTDScanner,   createDTDValidator,   createDatatypeValidatorFactory,   createDocumentScanner,   createEntityManager,   createErrorReporter,   createNamespaceBinder,   createValidationManager,   parse,   parse,   reset,   setInputSource,   setLocale
Methods from org.apache.xerces.parsers.BasicParserConfiguration:
addComponent,   checkFeature,   checkProperty,   getDTDContentModelHandler,   getDTDHandler,   getDocumentHandler,   getEntityResolver,   getErrorHandler,   getLocale,   parse,   reset,   setDTDContentModelHandler,   setDTDHandler,   setDocumentHandler,   setEntityResolver,   setErrorHandler,   setFeature,   setLocale,   setProperty
Methods from org.apache.xerces.util.ParserConfigurationSettings:
addRecognizedFeatures,   addRecognizedProperties,   checkFeature,   checkProperty,   getFeature,   getProperty,   setFeature,   setProperty
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.xerces.parsers.IntegratedParserConfiguration Detail:
 protected  void configurePipeline() 
    Configures the pipeline.
 protected XMLDTDValidator createDTDValidator() 
    Create a DTD validator: this validator performs namespace binding.
 protected XMLDocumentScanner createDocumentScanner() 
    Create a document scanner: this scanner performs namespace binding