com.sun.msv.grammar.xmlschema

Class XMLSchemaSchema

Implemented Interfaces:
Serializable

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
See Also:
Serialized Form

Nested Class Summary

class
XMLSchemaSchema.AttributeDeclContainer
class
XMLSchemaSchema.AttributeGroupContainer
class
XMLSchemaSchema.ComplexTypeContainer
class
XMLSchemaSchema.ElementDeclContainer
class
XMLSchemaSchema.GroupDeclContainer
class
XMLSchemaSchema.IdentityConstraintContainer
class
XMLSchemaSchema.SimpleTypeContainer

Field Summary

static String
XMLSchemaInstanceNamespace
XMLSchemaSchema.AttributeDeclContainer
attributeDecls
map from attribute declaration name to AttributeDeclExp object
XMLSchemaSchema.AttributeGroupContainer
attributeGroups
map from attribute group name to AttributeGroupExp object
XMLSchemaSchema.ComplexTypeContainer
complexTypes
map from simple type name to SimpleTypeExp object
XMLSchemaSchema.ElementDeclContainer
elementDecls
map from attribute declaration name to AttributeDeclExp object
XMLSchemaSchema.GroupDeclContainer
groupDecls
map from attribute declaration name to AttributeDeclExp object
XMLSchemaSchema.IdentityConstraintContainer
identityConstraints
map from identity constraint name to IdentityConstraint object.
ExpressionPool
pool
pool object which was used to construct this grammar.
XMLSchemaSchema.SimpleTypeContainer
simpleTypes
map from simple type name to SimpleTypeExp object
String
targetNamespace
target namespace URI of this schema.
Expression
topLevel
choice of all global element declarations.

Constructor Summary

XMLSchemaSchema(String targetNamespace, XMLSchemaGrammar parent)

Field Details

XMLSchemaInstanceNamespace

public static final String XMLSchemaInstanceNamespace

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.

Constructor Details

XMLSchemaSchema

public XMLSchemaSchema(String targetNamespace,
                       XMLSchemaGrammar parent)