SchemaDocument implementation.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv final Set | references
|
| pack-priv final Set | referers
|
| private final SchemaImpl | |
| private final String | schemaDocumentURI
URI of the schema document to be parsed. |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | equals(Object o)
Overrides java. Indicates whether some other object is "equal to" this one. |
| public Set | getImportedDocuments(String targetNamespace)
Implements com. Gets the s that are imported from this document. |
| public Set | getIncludedDocuments()
Implements com. Gets the s that are included from this document. |
| public Set | getReferencedDocuments()
Implements com. Set of s that are included/imported from this document. |
| public Set | getReferers()
Implements com. Set of s that include/import this document. |
| public SchemaImpl | getSchema()
Implements com. Gets |
| public String | getSystemId()
Implements com. Gets the system ID of the schema document. |
| public String | getTargetNamespace()
Implements com. The namespace that this schema defines. |
| public int | |
| public boolean | imports(SchemaDocument doc)
Implements com. Returns true if this document imports the given document. |
| public boolean | includes(SchemaDocument doc)
Implements com. Returns true if this document includes the given document. |
| references | back to summary |
|---|---|
| pack-priv final Set<SchemaDocumentImpl> references
| |
| referers | back to summary |
|---|---|
| pack-priv final Set<SchemaDocumentImpl> referers
| |
| schema | back to summary |
|---|---|
| private final SchemaImpl schema | |
| schemaDocumentURI | back to summary |
|---|---|
| private final String schemaDocumentURI URI of the schema document to be parsed. Can be null. | |
| SchemaDocumentImpl | back to summary |
|---|---|
| protected SchemaDocumentImpl(SchemaImpl schema, String _schemaDocumentURI) | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes.
| |
| getImportedDocuments | back to summary |
|---|---|
| public Set Implements com. Doc from com. Gets the s that are imported from this document. | |
| getIncludedDocuments | back to summary |
|---|---|
| public Set Implements com. Doc from com. Gets the s that are included from this document. | |
| getReferencedDocuments | back to summary |
|---|---|
| public Set Implements com. Doc from com. Set of s that are included/imported from this document. | |
| getReferers | back to summary |
|---|---|
| public Set Implements com. Doc from com. Set of s that include/import this document.
This works as the opposite of | |
| getSchema | back to summary |
|---|---|
| public SchemaImpl getSchema() Implements com. Doc from com. Gets
The returned | |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() Implements com. Doc from com. Gets the system ID of the schema document. | |
| getTargetNamespace | back to summary |
|---|---|
| public String getTargetNamespace() Implements com. Doc from com. The namespace that this schema defines.
More precisely, this method simply returns the | |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for this object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| imports | back to summary |
|---|---|
| public boolean imports(SchemaDocument doc) Implements com. Doc from com. Returns true if this document imports the given document. Note that this method returns false if this document includes the given document. | |
| includes | back to summary |
|---|---|
| public boolean includes(SchemaDocument doc) Implements com. Doc from com. Returns true if this document includes the given document. Note that this method returns false if this document imports the given document. | |