public class StandardParserConfiguration extends DTDConfiguration
In addition to the features and properties recognized by the base parser configuration, this class recognizes these additional features and properties:
| Modifier and Type | Field and Description | 
|---|---|
| protected static java.lang.String | ASSERT_COMMENT_PI_CHECKINGFeature identifier: whether to allow comment and PI nodes to be visible during  | 
| protected static java.lang.String | CTA_FULL_XPATH_CHECKINGFeature identifier: whether to use full XPath 2.0 support for CTA processing | 
| protected XMLSchemaValidator | fSchemaValidatorXML Schema Validator. | 
| protected static java.lang.String | GENERATE_SYNTHETIC_ANNOTATIONSFeature: generate synthetic annotations | 
| protected static java.lang.String | HONOUR_ALL_SCHEMALOCATIONSFeature identifier: honour all schemaLocations | 
| protected static java.lang.String | ID_IDREF_CHECKINGFeature identifier: whether to ignore ID/IDREF errors | 
| protected static java.lang.String | IDENTITY_CONSTRAINT_CHECKINGFeature identifier: whether to ignore identity constraint errors | 
| protected static java.lang.String | IGNORE_XSI_TYPEFeature identifier: whether to ignore xsi:type attributes until a global element declaration is encountered | 
| protected static java.lang.String | NAMESPACE_GROWTHFeature identifier: namespace growth | 
| protected static java.lang.String | NORMALIZE_DATAFeature identifier: expose schema normalized value | 
| protected static java.lang.String | ROOT_ELEMENT_DECLProperty identifier: root element declaration. | 
| protected static java.lang.String | ROOT_TYPE_DEFProperty identifier: root type definition. | 
| protected static java.lang.String | SCHEMA_AUGMENT_PSVIFeature identifier: augment PSVI | 
| protected static java.lang.String | SCHEMA_DV_FACTORYProperty identifier: Schema DV Factory | 
| protected static java.lang.String | SCHEMA_ELEMENT_DEFAULTFeature identifier: send element default value via characters() | 
| protected static java.lang.String | SCHEMA_LOCATIONProperty identifier: schema location. | 
| protected static java.lang.String | SCHEMA_NONS_LOCATIONProperty identifier: no namespace schema location. | 
| protected static java.lang.String | SCHEMA_VALIDATORProperty identifier: XML Schema validator. | 
| protected static java.lang.String | TOLERATE_DUPLICATESFeature identifier: tolerate duplicates | 
| protected static java.lang.String | TYPE_ALTERNATIVES_CHECKINGFeature identifier: whether to ignore type alternatives errors | 
| protected static java.lang.String | UNPARSED_ENTITY_CHECKINGFeature identifier: whether to ignore unparsed entity errors | 
| protected static java.lang.String | VALIDATE_ANNOTATIONSFeature identifier: validate annotations | 
| protected static java.lang.String | XMLSCHEMA_FULL_CHECKINGfeature identifier: XML Schema validation -- full checking | 
| protected static java.lang.String | XMLSCHEMA_VALIDATIONfeature identifier: XML Schema validation | 
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, LOCALE, 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_POOLENTITY_RESOLVER, ERROR_HANDLER, EXTERNAL_GENERAL_ENTITIES, EXTERNAL_PARAMETER_ENTITIES, fComponents, fDocumentHandler, fDTDContentModelHandler, fDTDHandler, fLastComponent, fLocale, fSymbolTable, NAMESPACES, SYMBOL_TABLE, VALIDATION, XML_STRINGfFeatures, fParentSettings, fProperties, fRecognizedFeatures, fRecognizedProperties, PARSER_SETTINGS| Constructor and Description | 
|---|
| StandardParserConfiguration()Default constructor. | 
| StandardParserConfiguration(SymbolTable symbolTable)Constructs a parser configuration using the specified symbol table. | 
| StandardParserConfiguration(SymbolTable symbolTable,
                           org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)Constructs a parser configuration using the specified symbol table and
 grammar pool. | 
| StandardParserConfiguration(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. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | checkFeature(java.lang.String featureId)Check a feature. | 
| protected void | checkProperty(java.lang.String propertyId)Check a property. | 
| protected void | configurePipeline()Configures the pipeline. | 
cleanup, configureDTDPipeline, createDatatypeValidatorFactory, createDocumentScanner, createDTDProcessor, createDTDScanner, createDTDValidator, createEntityManager, createErrorReporter, createNamespaceBinder, createValidationManager, getProperty, parse, parse, reset, setInputSource, setLocale, setPropertyaddComponent, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getLocale, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeatureaddRecognizedFeatures, addRecognizedProperties, getFeatureclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddRecognizedFeatures, addRecognizedProperties, getDocumentHandler, getDTDContentModelHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getLocale, setDocumentHandler, setDTDContentModelHandler, setDTDHandler, setEntityResolver, setErrorHandler, setFeatureprotected static final java.lang.String NORMALIZE_DATA
protected static final java.lang.String SCHEMA_ELEMENT_DEFAULT
protected static final java.lang.String SCHEMA_AUGMENT_PSVI
protected static final java.lang.String XMLSCHEMA_VALIDATION
protected static final java.lang.String XMLSCHEMA_FULL_CHECKING
protected static final java.lang.String GENERATE_SYNTHETIC_ANNOTATIONS
protected static final java.lang.String VALIDATE_ANNOTATIONS
protected static final java.lang.String HONOUR_ALL_SCHEMALOCATIONS
protected static final java.lang.String NAMESPACE_GROWTH
protected static final java.lang.String TOLERATE_DUPLICATES
protected static final java.lang.String IGNORE_XSI_TYPE
protected static final java.lang.String ID_IDREF_CHECKING
protected static final java.lang.String UNPARSED_ENTITY_CHECKING
protected static final java.lang.String IDENTITY_CONSTRAINT_CHECKING
protected static final java.lang.String TYPE_ALTERNATIVES_CHECKING
protected static final java.lang.String CTA_FULL_XPATH_CHECKING
protected static final java.lang.String ASSERT_COMMENT_PI_CHECKING
protected static final java.lang.String SCHEMA_VALIDATOR
protected static final java.lang.String SCHEMA_LOCATION
protected static final java.lang.String SCHEMA_NONS_LOCATION
protected static final java.lang.String ROOT_TYPE_DEF
protected static final java.lang.String ROOT_ELEMENT_DECL
protected static final java.lang.String SCHEMA_DV_FACTORY
protected XMLSchemaValidator fSchemaValidator
public StandardParserConfiguration()
public StandardParserConfiguration(SymbolTable symbolTable)
symbolTable - The symbol table to use.public StandardParserConfiguration(SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool)
REVISIT: Grammar pool will be updated when the new validation engine is implemented.
symbolTable - The symbol table to use.grammarPool - The grammar pool to use.public StandardParserConfiguration(SymbolTable symbolTable, org.apache.xerces.xni.grammars.XMLGrammarPool grammarPool, org.apache.xerces.xni.parser.XMLComponentManager parentSettings)
REVISIT: Grammar pool will be updated when the new validation engine is implemented.
symbolTable - The symbol table to use.grammarPool - The grammar pool to use.parentSettings - The parent settings.protected void configurePipeline()
configurePipeline in class DTDConfigurationprotected void checkFeature(java.lang.String featureId)
                     throws org.apache.xerces.xni.parser.XMLConfigurationException
checkFeature in class DTDConfigurationfeatureId - The unique identifier (URI) of the feature.org.apache.xerces.xni.parser.XMLConfigurationException - Thrown for configuration error.
                                   In general, components should
                                   only throw this exception if
                                   it is really
                                   a critical error.protected void checkProperty(java.lang.String propertyId)
                      throws org.apache.xerces.xni.parser.XMLConfigurationException
checkProperty in class DTDConfigurationpropertyId - The unique identifier (URI) of the property
                   being set.org.apache.xerces.xni.parser.XMLConfigurationException - Thrown for configuration error.
                                   In general, components should
                                   only throw this exception if
                                   it is really
                                   a critical error.Copyright © 1999-2022 The Apache Software Foundation. All Rights Reserved.