| com.sun.xml.internal.xsom.XSSchema
All known Subclasses: com.sun.xml.internal.xsom.impl.SchemaImpl,
XSSchema | public interface XSSchema extends XSComponent(Code) | | Schema.
Container of declarations that belong to the same target namespace.
author: Kohsuke Kawaguchi (kohsuke.kawaguchi@sun.com) |
Method Summary | |
XSAttGroupDecl | getAttGroupDecl(String localName) | Map<String, XSAttGroupDecl> | getAttGroupDecls() Gets all the
XSAttGroupDecl s in this schema. | XSAttributeDecl | getAttributeDecl(String localName) | Map<String, XSAttributeDecl> | getAttributeDecls() Gets all the
XSAttributeDecl s in this schema
keyed by their local names. | XSComplexType | getComplexType(String localName) | Map<String, XSComplexType> | getComplexTypes() Gets all the
XSComplexType s in this schema. | XSElementDecl | getElementDecl(String localName) | Map<String, XSElementDecl> | getElementDecls() Gets all the
XSElementDecl s in this schema. | XSIdentityConstraint | getIdentityConstraint(String localName) Gets the identity constraint of the given name, or null if not found. | Map<String, XSIdentityConstraint> | getIdentityConstraints() Gets all the
XSIdentityConstraint s in this schema,
keyed by their names. | XSModelGroupDecl | getModelGroupDecl(String localName) | Map<String, XSModelGroupDecl> | getModelGroupDecls() Gets all the
XSModelGroupDecl s in this schema. | XSNotation | getNotation(String localName) | Map<String, XSNotation> | getNotations() Gets all the
XSNotation s in this schema. | XSSimpleType | getSimpleType(String localName) | Map<String, XSSimpleType> | getSimpleTypes() Gets all the
XSSimpleType s in this schema. | SchemaDocument | getSourceDocument() Sine an
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. | String | getTargetNamespace() Gets the target namespace of the schema. | XSType | getType(String localName) | Map<String, XSType> | getTypes() | Iterator<XSAttGroupDecl> | iterateAttGroupDecls() | Iterator<XSAttributeDecl> | iterateAttributeDecls() | Iterator<XSComplexType> | iterateComplexTypes() | Iterator<XSElementDecl> | iterateElementDecls() | Iterator<XSModelGroupDecl> | iterateModelGroupDecls() | Iterator<XSNotation> | iterateNotations() | Iterator<XSSimpleType> | iterateSimpleTypes() | Iterator<XSType> | iterateTypes() |
getSourceDocument | SchemaDocument getSourceDocument()(Code) | | Sine an
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.
XSSchemaXSComponent |
getTargetNamespace | String getTargetNamespace()(Code) | | Gets the target namespace of the schema.
can be empty, but never be null. |
|
|