Modifier and Type | Field and Description |
---|---|
protected static final String | ALLOW_JAVA_ENCODINGS
Feature identifier: allow Java encodings. |
protected static final String | CONTINUE_AFTER_FATAL_ERROR
Feature identifier: continue after fatal error. |
protected static final String | DATATYPE_VALIDATOR_FACTORY
Property identifier: datatype validator factory. |
protected static final String | DOCUMENT_SCANNER
Property identifier document scanner: |
protected static final String | DTD_PROCESSOR
Property identifier: DTD loader. |
protected static final String | DTD_SCANNER
Property identifier: DTD scanner. |
protected static final String | DTD_VALIDATOR
Property identifier: DTD validator. |
protected static final String | ENTITY_MANAGER
Property identifier: entity manager. |
protected static final String | ENTITY_RESOLVER
Property identifier: entity resolver. |
protected static final String | ERROR_HANDLER
Property identifier: error handler. |
protected static final String | ERROR_REPORTER
Property identifier: error reporter. |
protected static final String | EXTERNAL_GENERAL_ENTITIES
Feature identifier: external general entities. |
protected static final String | EXTERNAL_PARAMETER_ENTITIES
Feature identifier: external parameter entities. |
private boolean | f11Initialized
Flag indicating whether XML11 components have been initialized. |
protected List | fCommonComponents
Common components: XMLEntityManager, XMLErrorReporter, XMLSchemaValidator |
protected List | fComponents
XML 1.0 Components. |
protected boolean | fConfigUpdated
fConfigUpdated is set to true if there has been any change to the configuration settings, i.e a feature or a property was changed. |
protected XMLDTDScanner | fCurrentDTDScanner
Current DTD scanner. |
protected DTDDVFactory | fCurrentDVFactory
Current Datatype validator factory. |
protected XMLDocumentScanner | fCurrentScanner
Current scanner |
protected DTDDVFactory | fDatatypeValidatorFactory
The XML 1.0 Datatype validator factory. |
protected XMLDocumentHandler | fDocumentHandler
The document handler. |
protected XMLDTDContentModelHandler | fDTDContentModelHandler
The DTD content model handler. |
protected XMLDTDHandler | fDTDHandler
The DTD handler. |
protected XMLDTDProcessor | fDTDProcessor
The XML 1.0 DTD Processor . |
protected XMLDTDScanner | fDTDScanner
The XML 1.0 DTD scanner. |
protected XMLDTDValidator | fDTDValidator
The XML 1.0 DTD Validator: binds namespaces |
protected XMLEntityManager | fEntityManager
Entity manager. |
protected XMLErrorReporter | fErrorReporter
Error reporter. |
protected XMLGrammarPool | fGrammarPool
Grammar pool. |
protected XMLInputSource | |
protected XMLDocumentSource | fLastComponent
Last component in the document pipeline |
protected Locale | |
protected XMLLocator | |
protected XMLNSDocumentScannerImpl | fNamespaceScanner
The XML 1.0 Document scanner that does namespace binding. |
protected XMLDTDValidator | fNonNSDTDValidator
The XML 1.0 DTD Validator that does not bind namespaces |
protected XMLDocumentScannerImpl | fNonNSScanner
The XML 1.0 Non-namespace implementation of scanner |
protected boolean | fParseInProgress
True if a parse is in progress. |
protected XMLSchemaValidator | fSchemaValidator
XML Schema Validator. |
protected SymbolTable | |
private boolean | fSymbolTableJustInitialized
Flag indicating if the symbol table was initialized and never used before that |
private boolean | fSymbolTableProvided
Flag indicating whether the symbol table instance was specified during construction |
protected ValidationManager | |
protected XMLVersionDetector | |
protected List | fXML11Components
XML 1.1. |
protected DTDDVFactory | fXML11DatatypeFactory
The XML 1.1 datatype factory. |
protected XML11DocumentScannerImpl | fXML11DocScanner
The XML 1.1 document scanner that does not do namespace binding. |
protected XML11DTDProcessor | fXML11DTDProcessor
The XML 1.1 DTD processor. |
protected XML11DTDScannerImpl | fXML11DTDScanner
The XML 1.1 DTD scanner. |
protected XML11DTDValidator | fXML11DTDValidator
The XML 1.1 DTD validator that does not do namespace binding. |
protected XML11NSDocumentScannerImpl | fXML11NSDocScanner
The XML 1.1 document scanner that does namespace binding. |
protected XML11NSDTDValidator | fXML11NSDTDValidator
The XML 1.1 DTD validator that does namespace binding. |
protected static final String | GENERATE_SYNTHETIC_ANNOTATIONS
Feature: generate synthetic annotations |
protected static final String | HONOUR_ALL_SCHEMALOCATIONS
Feature identifier: honour all schemaLocations |
protected static final String | ID_IDREF_CHECKING
Feature identifier: whether to ignore ID/IDREF errors |
protected static final String | IDENTITY_CONSTRAINT_CHECKING
Feature identifier: whether to ignore identity constraint errors |
protected static final String | IGNORE_XSI_TYPE
Feature identifier: whether to ignore xsi:type attributes until a global element declaration is encountered |
protected static final String | JAXP_SCHEMA_LANGUAGE
Property identifier: JAXP schema language / DOM schema-type. |
protected static final String | JAXP_SCHEMA_SOURCE
Property identifier: JAXP schema source/ DOM schema-location. |
protected static final String | LOAD_EXTERNAL_DTD
Feature identifier: load external DTD. |
protected static final String | LOCALE
Property identifier: locale. |
protected static final String | NAMESPACE_BINDER
Property identifier: namespace binder. |
protected static final String | NAMESPACE_GROWTH
Feature identifier: namespace growth |
protected static final String | NAMESPACES
Feature identifier: namespaces. |
protected static final String | NORMALIZE_DATA
Feature identifier: expose schema normalized value |
protected static final String | NOTIFY_BUILTIN_REFS
Feature identifier: notify built-in refereces. |
protected static final String | NOTIFY_CHAR_REFS
Feature identifier: notify character refereces. |
protected static final boolean | PRINT_EXCEPTION_STACK_TRACE
Set to true and recompile to print exception stack trace. |
protected static final String | ROOT_ELEMENT_DECL
Property identifier: root element declaration. |
protected static final String | ROOT_TYPE_DEF
Property identifier: root type definition. |
protected static final String | SCHEMA_AUGMENT_PSVI
Feature identifier: augment PSVI |
protected static final String | SCHEMA_DV_FACTORY
Property identifier: Schema DV Factory |
protected static final String | SCHEMA_ELEMENT_DEFAULT
Feature identifier: send element default value via characters() |
protected static final String | SCHEMA_LOCATION
Property identifier: schema location. |
protected static final String | SCHEMA_NONS_LOCATION
Property identifier: no namespace schema location. |
protected static final String | SCHEMA_VALIDATOR
Property identifier: XML Schema validator. |
private static final String | SECURITY_MANAGER
Property identifier: Security manager. |
protected static final String | SYMBOL_TABLE
Property identifier: symbol table. |
protected static final String | TOLERATE_DUPLICATES
Feature identifier: tolerate duplicates |
protected static final String | UNPARSED_ENTITY_CHECKING
Feature identifier: whether to ignore unparsed entity errors |
protected static final String | USE_GRAMMAR_POOL_ONLY
Feature identifier: use grammar pool only |
protected static final String | VALIDATE_ANNOTATIONS
Feature identifier: validate annotations |
protected static final String | VALIDATION
Feature identifier: validation. |
protected static final String | |
protected static final String | WARN_ON_DUPLICATE_ATTDEF
Feature identifier: warn on duplicate attribute definition. |
protected static final String | WARN_ON_DUPLICATE_ENTITYDEF
Feature identifier: warn on duplicate entity definition. |
protected static final String | WARN_ON_UNDECLARED_ELEMDEF
Feature identifier: warn on undeclared element definition. |
protected static final String | |
private static final String | XML_SECURITY_PROPERTY_MANAGER
Property identifier: Security property manager. |
protected static final String | XML_STRING
Property identifier: xml string. |
protected static final String | XMLGRAMMAR_POOL
Property identifier: grammar pool. |
protected static final String | XMLSCHEMA_FULL_CHECKING
feature identifier: XML Schema validation -- full checking |
protected static final String | XMLSCHEMA_VALIDATION
feature identifier: XML Schema validation |
Access | Constructor and Description |
---|---|
public | |
public | XML11Configuration(SymbolTable
The symbol table to use. symbolTable)Constructs a parser configuration using the specified symbol table. |
public | XML11Configuration(SymbolTable
The symbol table to use. symbolTable, XMLGrammarPool The grammar pool to use. grammarPool)Constructs a parser configuration using the specified symbol table and grammar pool. |
public | XML11Configuration(SymbolTable
The symbol table to use. symbolTable, XMLGrammarPool The grammar pool to use. grammarPool, XMLComponentManager The parent settings. parentSettings)Constructs a parser configuration using the specified symbol table, grammar pool, and parent settings. |
public | XML11Configuration(SymbolTable symbolTable, XMLGrammarPool grammarPool, XMLComponentManager parentSettings, XMLSecurityPropertyManager securityPropertyMgr, XMLSecurityManager securityManager)
|
Modifier and Type | Method and Description |
---|---|
protected void | addCommonComponent(XMLComponent
The component to add. component)Adds common component to the parser configuration. |
protected void | addComponent(XMLComponent
The component to add. component)Adds a component to the parser configuration. |
protected void | addRecognizedParamsAndSetDefaults(XMLComponent
The component whose recognized features
and properties will be added to the configuration component)Adds all of the component's recognized features and properties to the list of default recognized features and properties, and sets default values on the configuration for features and properties which were previously absent from the configuration. |
protected void | addXML11Component(XMLComponent
The component to add. component)Adds an XML 1.1 component to the parser configuration. |
protected FeatureState | checkFeature(String
The unique identifier (URI) of the feature. featureId)Overrides com. Check a feature. |
protected PropertyState | checkProperty(String
The unique identifier (URI) of the property
being set. propertyId)Overrides com. Check a property. |
public void | cleanup()
Implements com. If the application decides to terminate parsing before the xml document is fully parsed, the application should call this method to free any resource allocated during parsing. |
protected void | |
protected void | |
public XMLDocumentHandler | getDocumentHandler()
Implements com. Returns the registered document handler. |
public XMLDTDContentModelHandler | getDTDContentModelHandler()
Implements com. Returns the registered DTD content model handler. |
public XMLDTDHandler | getDTDHandler()
Implements com. Returns the registered DTD handler. |
public XMLEntityResolver | Returns: The current entity resolver, or null if none has been registered.Implements com. Return the current entity resolver. |
public XMLErrorHandler | Returns: The current error handler, or null if none has been registered.Implements com. Return the current error handler. |
public FeatureState | Returns: true if the feature is supportedThe feature identifier. featureId)Overrides com. Implements com. Returns the state of a feature. |
pack-priv FeatureState | |
public Locale | getLocale()
Implements com. Returns the locale. |
public PropertyState | Returns: the value of the propertyThe property identifier. propertyId)Overrides com. Implements com. Returns the value of a property. |
private void | |
public void | parse(XMLInputSource
The input source. source)Implements com. Parses the specified input source. |
public boolean | parse(boolean
True if the pull parser should parse the
remaining document completely. complete)Implements com. Parses the document in a pull parsing fashion. |
protected void | |
protected void | |
private void | resetSymbolTable()
Reset the symbol table if it wasn't provided during construction, its not the first time when parse is called after initialization and RESET_SYMBOL_TABLE feature is set to true |
protected void | |
public void | setDocumentHandler(XMLDocumentHandler
The document handler. documentHandler)Implements com. Sets the document handler on the last component in the pipeline to receive information about the document. |
public void | setDTDContentModelHandler(XMLDTDContentModelHandler
The DTD content model handler. handler)Implements com. Sets the DTD content model handler. |
public void | setDTDHandler(XMLDTDHandler
The DTD handler. dtdHandler)Implements com. Sets the DTD handler. |
public void | setEntityResolver(XMLEntityResolver
The new entity resolver. Passing a null value will
uninstall the currently installed resolver. resolver)Implements com. Sets the resolver used to resolve external entities. |
public void | setErrorHandler(XMLErrorHandler
The error handler. errorHandler)Implements com. Allow an application to register an error event handler. |
public void | setFeature(String
The unique identifier (URI) of the feature. featureId, boolean The requested state of the feature (true or false). state)Overrides com. Implements com. Set the state of a feature. |
public void | setInputSource(XMLInputSource
The document's input source. inputSource)Implements com. Sets the input source for the document to parse. |
public void | setLocale(Locale
The locale object to use for localization of messages. locale)Implements com. Set the locale to use for messages. |
public void | setProperty(String propertyId, Object value)
Overrides com. Implements com. setProperty |