|
XSOM 20110809-redhat-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface XSSchema
Schema. Container of declarations that belong to the same target namespace.
Methods inherited from interface com.sun.xml.xsom.XSComponent |
---|
apply, getAnnotation, getAnnotation, getForeignAttribute, getForeignAttributes, getLocator, getOwnerSchema, select, selectSingle, visit |
Method Detail |
---|
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,XSType> getTypes()
XSType
s in this schema (union of
getSimpleTypes()
and getComplexTypes()
Iterator<XSType> iterateTypes()
XSType getType(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
|
XSOM 20110809-redhat-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |