java.lang.Object | |
↳ | org.apache.xerces.impl.xs.traversers.XSDHandler |
The purpose of this class is to co-ordinate the construction of a
grammar object corresponding to a schema. To do this, it must be
prepared to parse several schema documents (for instance if the
schema document originally referred to contains
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | ALLOW_JAVA_ENCODINGS | Feature identifier: allow java encodings | |||||||||
String | CONTINUE_AFTER_FATAL_ERROR | Feature identifier: continue after fatal error | |||||||||
boolean | DEBUG_NODE_POOL | ||||||||||
String | DISALLOW_DOCTYPE | Feature: disallow doctype | |||||||||
String | ENTITY_MANAGER | Property identifier: entity manager. | |||||||||
String | ENTITY_RESOLVER | Property identifier: entity resolver. | |||||||||
String | ERROR_HANDLER | Property identifier: error handler. | |||||||||
String | ERROR_REPORTER | Property identifier: error reporter. | |||||||||
String | GENERATE_SYNTHETIC_ANNOTATIONS | Feature: generate synthetic annotations | |||||||||
String | HONOUR_ALL_SCHEMALOCATIONS | Feature identifier: honour all schemaLocations | |||||||||
String | JAXP_SCHEMA_SOURCE | Property identifier: JAXP schema source. | |||||||||
String | REDEF_IDENTIFIER | ||||||||||
String | SECURITY_MANAGER | Property identifier: security manager. | |||||||||
String | STANDARD_URI_CONFORMANT_FEATURE | Feature identifier: allow java encodings | |||||||||
String | STRING_INTERNING | Feature identifier: string interning. | |||||||||
String | SYMBOL_TABLE | Property identifier: symbol table. | |||||||||
String | VALIDATE_ANNOTATIONS | Feature identifier: validate annotations. | |||||||||
String | VALIDATION | Feature identifier: validation. | |||||||||
String | XMLGRAMMAR_POOL | Property identifier: grammar pool. | |||||||||
String | XMLSCHEMA_VALIDATION | feature identifier: XML Schema validation |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fDeclPool | |||||||||||
fNotationRegistry |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Extract location information from an Element node, store such
information in the passed-in SimpleLocator object, then return
true.
| |||||||||||
Extract location information from an Element node, and create a
new SimpleLocator object from such information.
| |||||||||||
This method initiates the parse of a schema.
| |||||||||||
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
First try to find a grammar in the bucket, if failed, consult the
grammar pool.
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Feature identifier: allow java encodings
Feature identifier: continue after fatal error
Feature: disallow doctype
Property identifier: entity manager.
Property identifier: entity resolver.
Property identifier: error handler.
Property identifier: error reporter.
Feature: generate synthetic annotations
Feature identifier: honour all schemaLocations
Property identifier: JAXP schema source.
Property identifier: security manager.
Feature identifier: allow java encodings
Feature identifier: string interning.
Property identifier: symbol table.
Feature identifier: validate annotations.
Feature identifier: validation.
Property identifier: grammar pool.
feature identifier: XML Schema validation
Extract location information from an Element node, store such information in the passed-in SimpleLocator object, then return true. Returning false means can't extract or store such information.
Extract location information from an Element node, and create a new SimpleLocator object from such information. Returning null means no information can be retrieved from the element.
This method initiates the parse of a schema. It will likely be called from the Validator and it will make the resulting grammar available; it returns a reference to this object just in case. A reset(XMLComponentManager) must be called before this methods is called.
IOException |
---|
First try to find a grammar in the bucket, if failed, consult the grammar pool. If a grammar is found in the pool, then add it (and all imported ones) into the bucket.