Top Description Inners Fields Constructors Methods
com.sun.msv.grammar.xmlschema

public Class XMLSchemaSchema

extends Object
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
java.util.Map, com.sun.msv.grammar.Expression, .ExpressionPool, .ReferenceContainer, .ReferenceExp

XML Schema object.

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

Author
Kohsuke KAWAGUCHI

Nested and Inner Type Summary

Modifier and TypeClass and Description
public class
public class
public class
public class
public class
public class
public class

Field Summary

Modifier and TypeField and Description
public final XMLSchemaSchema.AttributeDeclContainer
attributeDecls

map from attribute declaration name to AttributeDeclExp object

public final XMLSchemaSchema.AttributeGroupContainer
attributeGroups

map from attribute group name to AttributeGroupExp object

public final XMLSchemaSchema.ComplexTypeContainer
complexTypes

map from simple type name to SimpleTypeExp object

public final XMLSchemaSchema.ElementDeclContainer
elementDecls

map from attribute declaration name to AttributeDeclExp object

public final XMLSchemaSchema.GroupDeclContainer
groupDecls

map from attribute declaration name to AttributeDeclExp object

public final XMLSchemaSchema.IdentityConstraintContainer
identityConstraints

map from identity constraint name to IdentityConstraint object.

public final ExpressionPool
pool

pool object which was used to construct this grammar.

private static final long
public final XMLSchemaSchema.SimpleTypeContainer
simpleTypes

map from simple type name to SimpleTypeExp object

public final String
targetNamespace

target namespace URI of this schema.

public Expression
topLevel

choice of all global element declarations.

public static final String

Constructor Summary

AccessConstructor and Description
public
XMLSchemaSchema(String targetNamespace, XMLSchemaGrammar parent)

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributeDeclsback to summary
public final XMLSchemaSchema.AttributeDeclContainer attributeDecls

map from attribute declaration name to AttributeDeclExp object

attributeGroupsback to summary
public final XMLSchemaSchema.AttributeGroupContainer attributeGroups

map from attribute group name to AttributeGroupExp object

complexTypesback to summary
public final XMLSchemaSchema.ComplexTypeContainer complexTypes

map from simple type name to SimpleTypeExp object

elementDeclsback to summary
public final XMLSchemaSchema.ElementDeclContainer elementDecls

map from attribute declaration name to AttributeDeclExp object

groupDeclsback to summary
public final XMLSchemaSchema.GroupDeclContainer groupDecls

map from attribute declaration name to AttributeDeclExp object

identityConstraintsback to summary
public final XMLSchemaSchema.IdentityConstraintContainer identityConstraints

map from identity constraint name to IdentityConstraint object.

poolback to summary
public final ExpressionPool pool

pool object which was used to construct this grammar.

serialVersionUIDback to summary
private static final long serialVersionUID
simpleTypesback to summary
public final XMLSchemaSchema.SimpleTypeContainer simpleTypes

map from simple type name to SimpleTypeExp object

targetNamespaceback to summary
public final String targetNamespace

target namespace URI of this schema.

topLevelback to summary
public Expression topLevel

choice of all global element declarations.

XMLSchemaInstanceNamespaceback to summary
public static final String XMLSchemaInstanceNamespace

Constructor Detail

XMLSchemaSchemaback to summary
public XMLSchemaSchema(String targetNamespace, XMLSchemaGrammar parent)
com.sun.msv.grammar.xmlschema back to summary

public final Class XMLSchemaSchema.AttributeDeclContainer

extends ReferenceContainer
Class Inheritance
Annotations
@SuppressWarnings:serial

Field Summary

Inherited from com.sun.msv.grammar.ReferenceContainer:
impl

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ReferenceExp
createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name
public AttributeDeclExp
get(String name)

public AttributeDeclExp
Inherited from com.sun.msv.grammar.ReferenceContainer:
_get_getOrCreategetAlliteratorredefineremovesize

Constructor Detail

AttributeDeclContainerback to summary
public AttributeDeclContainer()

Method Detail

createReferenceback to summary
protected ReferenceExp createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

Doc from com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name

getback to summary
public AttributeDeclExp get(String name)
getOrCreateback to summary
public AttributeDeclExp getOrCreate(String name)
com.sun.msv.grammar.xmlschema back to summary

public final Class XMLSchemaSchema.AttributeGroupContainer

extends ReferenceContainer
Class Inheritance
Annotations
@SuppressWarnings:serial

Field Summary

Inherited from com.sun.msv.grammar.ReferenceContainer:
impl

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ReferenceExp
createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name
public AttributeGroupExp
get(String name)

public AttributeGroupExp
Inherited from com.sun.msv.grammar.ReferenceContainer:
_get_getOrCreategetAlliteratorredefineremovesize

Constructor Detail

AttributeGroupContainerback to summary
public AttributeGroupContainer()

Method Detail

createReferenceback to summary
protected ReferenceExp createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

Doc from com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name

getback to summary
public AttributeGroupExp get(String name)
getOrCreateback to summary
public AttributeGroupExp getOrCreate(String name)
com.sun.msv.grammar.xmlschema back to summary

public final Class XMLSchemaSchema.ComplexTypeContainer

extends ReferenceContainer
Class Inheritance
Annotations
@SuppressWarnings:serial

Field Summary

Inherited from com.sun.msv.grammar.ReferenceContainer:
impl

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ReferenceExp
createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name
public ComplexTypeExp
get(String name)

public ComplexTypeExp
Inherited from com.sun.msv.grammar.ReferenceContainer:
_get_getOrCreategetAlliteratorredefineremovesize

Constructor Detail

ComplexTypeContainerback to summary
public ComplexTypeContainer()

Method Detail

createReferenceback to summary
protected ReferenceExp createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

Doc from com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name

getback to summary
public ComplexTypeExp get(String name)
getOrCreateback to summary
public ComplexTypeExp getOrCreate(String name)
com.sun.msv.grammar.xmlschema back to summary

public final Class XMLSchemaSchema.ElementDeclContainer

extends ReferenceContainer
Class Inheritance
Annotations
@SuppressWarnings:serial

Field Summary

Inherited from com.sun.msv.grammar.ReferenceContainer:
impl

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ReferenceExp
createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name
public ElementDeclExp
get(String name)

public ElementDeclExp
Inherited from com.sun.msv.grammar.ReferenceContainer:
_get_getOrCreategetAlliteratorredefineremovesize

Constructor Detail

ElementDeclContainerback to summary
public ElementDeclContainer()

Method Detail

createReferenceback to summary
protected ReferenceExp createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

Doc from com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name

getback to summary
public ElementDeclExp get(String name)
getOrCreateback to summary
public ElementDeclExp getOrCreate(String name)
com.sun.msv.grammar.xmlschema back to summary

public final Class XMLSchemaSchema.GroupDeclContainer

extends ReferenceContainer
Class Inheritance
Annotations
@SuppressWarnings:serial

Field Summary

Inherited from com.sun.msv.grammar.ReferenceContainer:
impl

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ReferenceExp
createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name
public GroupDeclExp
get(String name)

public GroupDeclExp
Inherited from com.sun.msv.grammar.ReferenceContainer:
_get_getOrCreategetAlliteratorredefineremovesize

Constructor Detail

GroupDeclContainerback to summary
public GroupDeclContainer()

Method Detail

createReferenceback to summary
protected ReferenceExp createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

Doc from com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name

getback to summary
public GroupDeclExp get(String name)
getOrCreateback to summary
public GroupDeclExp getOrCreate(String name)
com.sun.msv.grammar.xmlschema back to summary

public final Class XMLSchemaSchema.IdentityConstraintContainer

extends Object
implements Serializable
Class Inheritance
  • java.lang.Object
  • com.sun.msv.grammar.xmlschema.XMLSchemaSchema.IdentityConstraintContainer
All Implemented Interfaces
java.io.Serializable
Annotations
@SuppressWarnings:serial

Field Summary

Modifier and TypeField and Description
private final Map<String, IdentityConstraint>

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
public IdentityConstraint
get(String name)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

storageback to summary
private final Map<String, IdentityConstraint> storage

Constructor Detail

IdentityConstraintContainerback to summary
public IdentityConstraintContainer()

Method Detail

addback to summary
public void add(String name, IdentityConstraint idc)
getback to summary
public IdentityConstraint get(String name)
com.sun.msv.grammar.xmlschema back to summary

public final Class XMLSchemaSchema.SimpleTypeContainer

extends ReferenceContainer
Class Inheritance
Annotations
@SuppressWarnings:serial

Field Summary

Inherited from com.sun.msv.grammar.ReferenceContainer:
impl

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
protected ReferenceExp
createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name
public SimpleTypeExp
get(String name)

public SimpleTypeExp
Inherited from com.sun.msv.grammar.ReferenceContainer:
_get_getOrCreategetAlliteratorredefineremovesize

Constructor Detail

SimpleTypeContainerback to summary
public SimpleTypeContainer()

Method Detail

createReferenceback to summary
protected ReferenceExp createReference(String name)

Implements abstract com.sun.msv.grammar.ReferenceContainer.createReference.

Doc from com.sun.msv.grammar.ReferenceContainer.createReference.

creates a new reference object with given name

getback to summary
public SimpleTypeExp get(String name)
getOrCreateback to summary
public SimpleTypeExp getOrCreate(String name)