Uses of Interface
com.sun.xml.xsom.parser.SchemaDocument
Packages that use SchemaDocument
Package
Description
Interfaces that the client should use to access schema information.
Implementation of the 
com.sun.xml.xsom package.Parser that reads XML Schema documents and builds an 
XSSchemaSet object.Classes to parse XML Schema documents into objects of 
com.sun.xml.xsom package.- 
Uses of SchemaDocument in com.sun.xml.xsomMethods in com.sun.xml.xsom that return SchemaDocumentModifier and TypeMethodDescriptionXSComponent.getSourceDocument()Gets theSchemaDocumentthat indicates which document this component was defined in.XSSchema.getSourceDocument()Deprecated.
- 
Uses of SchemaDocument in com.sun.xml.xsom.implMethods in com.sun.xml.xsom.impl that return SchemaDocumentModifier and TypeMethodDescriptionComponentImpl.getSourceDocument()SchemaImpl.getSourceDocument()
- 
Uses of SchemaDocument in com.sun.xml.xsom.impl.parserClasses in com.sun.xml.xsom.impl.parser that implement SchemaDocumentMethods in com.sun.xml.xsom.impl.parser that return types with arguments of type SchemaDocumentModifier and TypeMethodDescriptionSchemaDocumentImpl.getImportedDocuments(String targetNamespace) SchemaDocumentImpl.getIncludedDocuments()SchemaDocumentImpl.getReferencedDocuments()SchemaDocumentImpl.getReferers()Methods in com.sun.xml.xsom.impl.parser with parameters of type SchemaDocumentModifier and TypeMethodDescriptionbooleanSchemaDocumentImpl.imports(SchemaDocument doc) booleanSchemaDocumentImpl.includes(SchemaDocument doc) 
- 
Uses of SchemaDocument in com.sun.xml.xsom.parserMethods in com.sun.xml.xsom.parser that return types with arguments of type SchemaDocumentModifier and TypeMethodDescriptionXSOMParser.getDocuments()Gets the set ofSchemaDocumentthat represents parsed documents so far.SchemaDocument.getImportedDocuments(String targetNamespace) Gets theSchemaDocuments that are imported from this document.SchemaDocument.getIncludedDocuments()Gets theSchemaDocuments that are included from this document.SchemaDocument.getReferencedDocuments()Set ofSchemaDocuments that are included/imported from this document.SchemaDocument.getReferers()Set ofSchemaDocuments that include/import this document.Methods in com.sun.xml.xsom.parser with parameters of type SchemaDocumentModifier and TypeMethodDescriptionbooleanSchemaDocument.imports(SchemaDocument doc) Returns true if this document imports the given document.booleanSchemaDocument.includes(SchemaDocument doc) Returns true if this document includes the given document.
XSSchemaand not fromXSComponent, there's something wrong with your code.