Unlike schema components defined in XS**** interfaces,
which are inherently de-coupled from where it was loaded from,
SchemaDocument represents a single XML infoset that
is a schema document.
This concept is often useful in tracking down the reference relationship among schema documents.
XSOMParser#getDocuments()
| Modifier and Type | Method and Description |
|---|---|
| public Set | Returns: can be empty but never null. read-only. this set is always a subset ofgetReferencedDocuments().The namespace URI of the import that you want to
get s for. targetNamespace)Gets the s that are imported from this document. |
| public Set | Returns: can be empty but never null. read-only. this set is always a subset ofgetReferencedDocuments().Gets the s that are included from this document. |
| public Set | Returns: can be empty but never null. read-only.Set of s that are included/imported from this document. |
| public Set | Returns: can be empty but never null. read-only.Set of s that include/import this document. |
| public XSSchema | |
| public String | Returns: null ifXSOMParser was not given the system Id.Gets the system ID of the schema document. |
| public String | |
| public boolean | |
| public boolean |
| getImportedDocuments | back to summary |
|---|---|
| public Set Gets the s that are imported from this document.
| |
| getIncludedDocuments | back to summary |
|---|---|
| public Set Gets the s that are included from this document.
| |
| getReferencedDocuments | back to summary |
|---|---|
| public Set Set of s that are included/imported from this document.
| |
| getReferers | back to summary |
|---|---|
| public Set Set of s that include/import this document.
This works as the opposite of
| |
| getSchema | back to summary |
|---|---|
| public XSSchema getSchema() Gets
The returned
| |
| getSystemId | back to summary |
|---|---|
| public String getSystemId() Gets the system ID of the schema document.
| |
| getTargetNamespace | back to summary |
|---|---|
| public String getTargetNamespace() The namespace that this schema defines.
More precisely, this method simply returns the
| |
| imports | back to summary |
|---|---|
| public boolean imports(SchemaDocument doc) 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) Returns true if this document includes the given document. Note that this method returns false if this document imports the given document. | |