public interface XSSchema extends XSComponent
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, select, selectSingle, visit
String getTargetNamespace()
Map<String,XSAttributeDecl> getAttributeDecls()
XSAttributeDecl
s in this schema
keyed by their local names.Iterator<XSAttributeDecl> iterateAttributeDecls()
XSAttributeDecl getAttributeDecl(String localName)
Map<String,XSElementDecl> getElementDecls()
XSElementDecl
s in this schema.Iterator<XSElementDecl> iterateElementDecls()
XSElementDecl getElementDecl(String localName)
Map<String,XSAttGroupDecl> getAttGroupDecls()
XSAttGroupDecl
s in this schema.Iterator<XSAttGroupDecl> iterateAttGroupDecls()
XSAttGroupDecl getAttGroupDecl(String localName)
Map<String,XSModelGroupDecl> getModelGroupDecls()
XSModelGroupDecl
s in this schema.Iterator<XSModelGroupDecl> iterateModelGroupDecls()
XSModelGroupDecl getModelGroupDecl(String localName)
Map<String,XSSimpleType> getSimpleTypes()
XSSimpleType
s in this schema.Iterator<XSSimpleType> iterateSimpleTypes()
XSSimpleType getSimpleType(String localName)
Map<String,XSComplexType> getComplexTypes()
XSComplexType
s in this schema.Iterator<XSComplexType> iterateComplexTypes()
XSComplexType getComplexType(String localName)
Map<String,XSNotation> getNotations()
XSNotation
s in this schema.Iterator<XSNotation> iterateNotations()
XSNotation getNotation(String localName)
Map<String,XSIdentityConstraint> getIdentityConstraints()
XSIdentityConstraint
s 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 XSComponent
XSContentType
. 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 XSComponent
Copyright © 2021 JBoss by Red Hat. All rights reserved.