java.lang.Objectdom.ASBuilder
All Implemented Interfaces:
org.apache.xerces.dom3.DOMErrorHandler
Xerces only support preparsing XML Schema grammars, so all ASModel appears in this sample program are assumed to be XML Schema grammars. When Xerces provide more complete DOM AS support, the sample should be extended for other types of grammars.
Since XML Schema document might import other schemas: it is better to set each parsed schema (ASModel) on the parser before parsing another schema document. The schema on the parser will be used in the case it is referenced from a schema document the parser is parsing. If a schema document imports other schemas, the parser returns a container ASModel that includes the list of all schemas that are referenced plus the schema that was set on the parser. NOTE: this behavior might be changed
Sandy
- Gao, IBM$
- Id: ASBuilder.java,v 1.13 2004/01/23 23:38:06 mrglavas Exp $Field Summary | ||
---|---|---|
protected static final String | NAMESPACES_FEATURE_ID | Namespaces feature id (http://xml.org/sax/features/namespaces). |
protected static final String | VALIDATION_FEATURE_ID | Validation feature id (http://xml.org/sax/features/validation). |
protected static final String | SCHEMA_VALIDATION_FEATURE_ID | Schema validation feature id (http://apache.org/xml/features/validation/schema). |
protected static final String | SCHEMA_FULL_CHECKING_FEATURE_ID | Schema full checking feature id (http://apache.org/xml/features/validation/schema-full-checking). |
protected static final boolean | DEFAULT_SCHEMA_FULL_CHECKING | Default Schema full checking support (false). |
Method from dom.ASBuilder Summary: |
---|
handleError, main |
Methods from java.lang.Object: |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method from dom.ASBuilder Detail: |
---|
Deprecated! |
Deprecated!
|