Class GMLSchema

This class represents a hard coded, java interpreted version of the GML
2.1.2 schema. Instances of this class should be prefered for use over a
parsed instance as this class will create real instances for elements
who's types correspond to types defined in this schema.

Method Detail

setLogLevel

getAttributeGroups

This method is intended to provide a list of public AttributeGroups
defined by this Schema. The definition of 'public AttributeGroups'
should be interpreted as the set of AttributeGroups available when
creating an instance document, extending the schema, or importing the
schema.

getAttributes

This method is intended to provide a list of public Attributes defined
by this Schema. The definition of 'public Attributes' should be
interpreted as the set of Attributes available when creating an
instance document, extending the schema, or importing the schema.

getBlockDefault

This method returns the default block value associated with this schema
as a mask. The keys for the mask are represented as constants at the
head of this file. As defined in the XML Schema specification, element
and type blocks should only be extended to include this block if one is
not specified.

getComplexTypes

This method is intended to provide a list of public ComplexTypes defined
by this Schema. The definition of 'public ComplexTypes' should be
interpreted as the set of ComplexTypes available when creating an
instance document, extending the schema, or importing the schema.

getElements

This method is intended to provide a list of public Elements defined by
this Schema. The definition of 'public Elements' should be interpreted
as the set of Elements available when creating an instance document,
extending the schema, or importing the schema.

getFinalDefault

This method returns the default final value associated with this schema
as a mask. The keys for the mask are represented as constants at the
head of this file. As defined in the XML Schema specification, element
and type final values should only be extended to include this final
value if one is not specified.

getGroups

This method is intended to provide a list of public Groups defined by
this Schema. The definition of 'public Groups' should be interpreted as
the set of Groups available when creating an instance document,
extending the schema, or importing the schema.

getImports

This method is intended to provide a list of public Imports defined by
this Schema. The definition of 'public Imports' should be interpreted
as the set of Imports available when creating an instance document,
extending the schema, or importing the schema.

getSimpleTypes

This method is intended to provide a list of public SimpleTypes defined
by this Schema. The definition of 'public SimpleTypes' should be
interpreted as the set of SimpleTypes available when creating an
instance document, extending the schema, or importing the schema.

includesURI

This looks to see if the URI passed in is represented by this Schema.
Often this method uses some heuritics on the list of included URIs.
This allows one Schema to represent one targetNamespace, but be
potentially represented in more than one file.

Used to determine if the uri should provided should be included in an
instance document.