com.sun.msv.grammar.xmlschema

Class XMLSchemaSchema

public class XMLSchemaSchema extends Object implements Serializable

XML Schema object.

A set of "schema components" that share the same target namespace. It contains all global declarations.

Author: Kohsuke KAWAGUCHI

Nested Class Summary
classXMLSchemaSchema.AttributeDeclContainer
classXMLSchemaSchema.AttributeGroupContainer
classXMLSchemaSchema.ComplexTypeContainer
classXMLSchemaSchema.ElementDeclContainer
classXMLSchemaSchema.GroupDeclContainer
classXMLSchemaSchema.IdentityConstraintContainer
classXMLSchemaSchema.SimpleTypeContainer
Field Summary
XMLSchemaSchema.AttributeDeclContainerattributeDecls
map from attribute declaration name to AttributeDeclExp object
XMLSchemaSchema.AttributeGroupContainerattributeGroups
map from attribute group name to AttributeGroupExp object
XMLSchemaSchema.ComplexTypeContainercomplexTypes
map from simple type name to SimpleTypeExp object
XMLSchemaSchema.ElementDeclContainerelementDecls
map from attribute declaration name to AttributeDeclExp object
XMLSchemaSchema.GroupDeclContainergroupDecls
map from attribute declaration name to AttributeDeclExp object
XMLSchemaSchema.IdentityConstraintContaineridentityConstraints
map from identity constraint name to IdentityConstraint object.
ExpressionPoolpool
pool object which was used to construct this grammar.
XMLSchemaSchema.SimpleTypeContainersimpleTypes
map from simple type name to SimpleTypeExp object
StringtargetNamespace
target namespace URI of this schema.
ExpressiontopLevel
choice of all global element declarations.
static StringXMLSchemaInstanceNamespace
Constructor Summary
XMLSchemaSchema(String targetNamespace, XMLSchemaGrammar parent)

Field Detail

attributeDecls

public final XMLSchemaSchema.AttributeDeclContainer attributeDecls
map from attribute declaration name to AttributeDeclExp object

attributeGroups

public final XMLSchemaSchema.AttributeGroupContainer attributeGroups
map from attribute group name to AttributeGroupExp object

complexTypes

public final XMLSchemaSchema.ComplexTypeContainer complexTypes
map from simple type name to SimpleTypeExp object

elementDecls

public final XMLSchemaSchema.ElementDeclContainer elementDecls
map from attribute declaration name to AttributeDeclExp object

groupDecls

public final XMLSchemaSchema.GroupDeclContainer groupDecls
map from attribute declaration name to AttributeDeclExp object

identityConstraints

public final XMLSchemaSchema.IdentityConstraintContainer identityConstraints
map from identity constraint name to IdentityConstraint object.

pool

public final ExpressionPool pool
pool object which was used to construct this grammar.

simpleTypes

public final XMLSchemaSchema.SimpleTypeContainer simpleTypes
map from simple type name to SimpleTypeExp object

targetNamespace

public final String targetNamespace
target namespace URI of this schema.

topLevel

public Expression topLevel
choice of all global element declarations.

XMLSchemaInstanceNamespace

public static final String XMLSchemaInstanceNamespace

Constructor Detail

XMLSchemaSchema

public XMLSchemaSchema(String targetNamespace, XMLSchemaGrammar parent)