|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.xsom.impl.parser.SchemaDocumentImpl
public final class SchemaDocumentImpl
SchemaDocument implementation.
| Constructor Summary | |
|---|---|
protected |
SchemaDocumentImpl(SchemaImpl schema,
String _schemaDocumentURI)
|
| Method Summary | |
|---|---|
boolean |
equals(Object o)
|
Set<SchemaDocument> |
getImportedDocuments(String targetNamespace)
Gets the SchemaDocuments that are imported from this document. |
Set<SchemaDocument> |
getIncludedDocuments()
Gets the SchemaDocuments that are included from this document. |
Set<SchemaDocument> |
getReferencedDocuments()
Set of SchemaDocuments that are included/imported from this document. |
Set<SchemaDocument> |
getReferers()
Set of SchemaDocuments that include/import this document. |
SchemaImpl |
getSchema()
Gets XSSchema component that contains all the schema
components defined in this namespace. |
String |
getSystemId()
Gets the system ID of the schema document. |
String |
getTargetNamespace()
The namespace that this schema defines. |
int |
hashCode()
|
boolean |
imports(SchemaDocument doc)
Returns true if this document imports the given document. |
boolean |
includes(SchemaDocument doc)
Returns true if this document includes the given document. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected SchemaDocumentImpl(SchemaImpl schema,
String _schemaDocumentURI)
| Method Detail |
|---|
public String getSystemId()
SchemaDocument
getSystemId in interface SchemaDocumentXSOMParser was not given the system Id.public String getTargetNamespace()
SchemaDocumentMore precisely, this method simply returns the targetNamespace attribute of the schema document. When schemas are referenced in certain ways (AKA chameleon schema), schema components in this schema document may end up defining components in other namespaces.
getTargetNamespace in interface SchemaDocumentpublic SchemaImpl getSchema()
SchemaDocumentXSSchema component that contains all the schema
components defined in this namespace.
The returned XSSchema contains not just components
defined in this SchemaDocument but all the other components
defined in all the schemas that collectively define this namespace.
getSchema in interface SchemaDocumentpublic Set<SchemaDocument> getReferencedDocuments()
SchemaDocumentSchemaDocuments that are included/imported from this document.
getReferencedDocuments in interface SchemaDocumentpublic Set<SchemaDocument> getIncludedDocuments()
SchemaDocumentSchemaDocuments that are included from this document.
getIncludedDocuments in interface SchemaDocumentSchemaDocument.getReferencedDocuments().public Set<SchemaDocument> getImportedDocuments(String targetNamespace)
SchemaDocumentSchemaDocuments that are imported from this document.
getImportedDocuments in interface SchemaDocumenttargetNamespace - The namespace URI of the import that you want to
get SchemaDocuments for.
SchemaDocument.getReferencedDocuments().public boolean includes(SchemaDocument doc)
SchemaDocumentNote that this method returns false if this document imports the given document.
includes in interface SchemaDocumentpublic boolean imports(SchemaDocument doc)
SchemaDocumentNote that this method returns false if this document includes the given document.
imports in interface SchemaDocumentpublic Set<SchemaDocument> getReferers()
SchemaDocumentSchemaDocuments that include/import this document.
This works as the opposite of SchemaDocument.getReferencedDocuments().
getReferers in interface SchemaDocumentpublic boolean equals(Object o)
equals in class Objectpublic int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||