public interface XSSchema extends XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, select, selectSingle, visitString getTargetNamespace()
Map<String,XSAttributeDecl> getAttributeDecls()
XSAttributeDecls in this schema
keyed by their local names.Iterator<XSAttributeDecl> iterateAttributeDecls()
XSAttributeDecl getAttributeDecl(String localName)
Map<String,XSElementDecl> getElementDecls()
XSElementDecls in this schema.Iterator<XSElementDecl> iterateElementDecls()
XSElementDecl getElementDecl(String localName)
Map<String,XSAttGroupDecl> getAttGroupDecls()
XSAttGroupDecls in this schema.Iterator<XSAttGroupDecl> iterateAttGroupDecls()
XSAttGroupDecl getAttGroupDecl(String localName)
Map<String,XSModelGroupDecl> getModelGroupDecls()
XSModelGroupDecls in this schema.Iterator<XSModelGroupDecl> iterateModelGroupDecls()
XSModelGroupDecl getModelGroupDecl(String localName)
Map<String,XSSimpleType> getSimpleTypes()
XSSimpleTypes in this schema.Iterator<XSSimpleType> iterateSimpleTypes()
XSSimpleType getSimpleType(String localName)
Map<String,XSComplexType> getComplexTypes()
XSComplexTypes in this schema.Iterator<XSComplexType> iterateComplexTypes()
XSComplexType getComplexType(String localName)
Map<String,XSNotation> getNotations()
XSNotations in this schema.Iterator<XSNotation> iterateNotations()
XSNotation getNotation(String localName)
Map<String,XSIdentityConstraint> getIdentityConstraints()
XSIdentityConstraints in this schema,
keyed by their names.XSIdentityConstraint getIdentityConstraint(String localName)
SchemaDocument getSourceDocument()
XSSchema and not from XSComponent,
there's something wrong with your code.XSSchema is not necessarily defined in
one schema document (for example one schema can span across
many documents through <xs:include>s.),
so this method always returns null.getSourceDocument in interface XSComponentXSContentType. This method also
returns null for XSSchema.
For all other user-defined
components this method returns non-null, even if they are local.XSSchemaSet getRoot()
getRoot in interface XSComponentCopyright © 2005–2017 Oracle Corporation. All rights reserved.