java.lang.Object | ||
↳ | org.apache.xerces.util.XMLResourceIdentifierImpl | |
↳ | org.apache.xerces.impl.xs.XSDDescription |
All information specific to XML Schema grammars.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
short | CONTEXT_ATTRIBUTE | Indicate that the parse of the current schema document is triggered by the occurrence of an attribute whose namespace is the target namespace of this schema document. | |||||||||
short | CONTEXT_ELEMENT | Indicate that the parse of the current schema document is triggered by the occurrence of an element whose namespace is the target namespace of this schema document. | |||||||||
short | CONTEXT_IMPORT | Indicate that the current schema document is |
|||||||||
short | CONTEXT_INCLUDE | Indicate that the current schema document is |
|||||||||
short | CONTEXT_INITIALIZE | Indicate that this description was just initialized. | |||||||||
short | CONTEXT_INSTANCE | Indicate that the parse of the current schema document is triggered by xsi:schemaLocation/noNamespaceSchemaLocation attribute(s) in the instance document. | |||||||||
short | CONTEXT_PREPARSE | Indicate that the current schema document is being preparsed. | |||||||||
short | CONTEXT_REDEFINE | Indicate that the current schema document is |
|||||||||
short | CONTEXT_XSITYPE | Indicate that the parse of the current schema document is triggered by the occurrence of an "xsi:type" attribute, whose value (a QName) has the target namespace of this schema document as its namespace. |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From interface
org.apache.xerces.xni.grammars.XMLGrammarDescription
| |||||||||||
From interface
org.apache.xerces.xni.grammars.XMLSchemaDescription
|
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
fAttributes | |||||||||||
fContextType | |||||||||||
fEnclosedElementName | |||||||||||
fLocationHints | |||||||||||
fTriggeringComponent |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.util.XMLResourceIdentifierImpl
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compares this grammar with the given grammar.
| |||||||||||
If a call is triggered by an element/attribute/xsi:type in the instance,
this call returns all attribute of such element (or enclosing element).
| |||||||||||
Get the context.
| |||||||||||
If a call is triggered by an attribute or xsi:type, then this mehtod
returns the enclosing element of such element.
| |||||||||||
the type of the grammar (e.g., DTD or XSD);
| |||||||||||
For import and references from the instance document, it's possible to
have multiple hints for one namespace.
| |||||||||||
If the context is "include" or "redefine", then return the target
namespace of the enclosing schema document; otherwise, the expected
target namespace of this document.
| |||||||||||
If a call is triggered by an element/attribute/xsi:type in the instance,
this call returns the name of such triggering component: the name of
the element/attribute, or the value of the xsi:type.
| |||||||||||
Returns the hash code of this grammar
| |||||||||||
resets all the fields
| |||||||||||
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.xerces.util.XMLResourceIdentifierImpl
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.apache.xerces.xni.XMLResourceIdentifier
| |||||||||||
From interface
org.apache.xerces.xni.grammars.XMLGrammarDescription
| |||||||||||
From interface
org.apache.xerces.xni.grammars.XMLSchemaDescription
|
Indicate that the parse of the current schema document is triggered by the occurrence of an attribute whose namespace is the target namespace of this schema document. This value is only used if we do defer the loading of schema documents until a component from that namespace is referenced from the instance.
Indicate that the parse of the current schema document is triggered by the occurrence of an element whose namespace is the target namespace of this schema document. This value is only used if we do defer the loading of schema documents until a component from that namespace is referenced from the instance.
Indicate that the current schema document is
Indicate that the current schema document is
Indicate that this description was just initialized.
Indicate that the parse of the current schema document is triggered by xsi:schemaLocation/noNamespaceSchemaLocation attribute(s) in the instance document. This value is only used if we don't defer the loading of schema documents.
Indicate that the current schema document is being preparsed.
Indicate that the current schema document is
Indicate that the parse of the current schema document is triggered by the occurrence of an "xsi:type" attribute, whose value (a QName) has the target namespace of this schema document as its namespace. This value is only used if we do defer the loading of schema documents until a component from that namespace is referenced from the instance.
Compares this grammar with the given grammar. Currently, we compare the target namespaces.
descObj | The description of the grammar to be compared with |
---|
If a call is triggered by an element/attribute/xsi:type in the instance, this call returns all attribute of such element (or enclosing element).
Get the context. The returned value is one of the pre-defined CONTEXT_xxx constants.
If a call is triggered by an attribute or xsi:type, then this mehtod returns the enclosing element of such element.
For import and references from the instance document, it's possible to have multiple hints for one namespace. So this method returns an array, which contains all location hints.
If the context is "include" or "redefine", then return the target namespace of the enclosing schema document; otherwise, the expected target namespace of this document.
If a call is triggered by an element/attribute/xsi:type in the instance, this call returns the name of such triggering component: the name of the element/attribute, or the value of the xsi:type.
Returns the hash code of this grammar
resets all the fields