Package org.idoox.xml.schema

Provides a support for in-memory representation of XML Schema.

See:
          Description

Interface Summary
Schema A representation of an XML Schemata.
SchemaFactory This interface is used for creating instances of Schema, SchemaParser.
SchemaHolder Deprecated. Use Schema instead.
SchemaParser Implementations of this interface are responsible for parsing schema document into an instance of Schema object.
 

Class Summary
Attribute This class represents an XML Schema attribute.
AttributeGroup This class represents an XML Schema AttributeGroup.
Extension This interface represents an extension in the xml schema.
Facet This class represents common base for all facets from XML Schema.
Facet.Enumeration This class represents the enumeration XML Schema facet.
Facet.FacetEnum Enumeration of all facets defined in XML Schema.
Facet.FixableFacet A fixable facet is such a facet which supports the fixed attribute.
Facet.FractionDigits This class represents the fractionDigits XML Schema facet.
Facet.Length This class represents the length XML Schema facet.
Facet.MaxExclusive This class represents the maxExclusive XML Schema facet.
Facet.MaxInclusive This class represents the maxInclusive XML Schema facet.
Facet.MaxLength This class represents the maxLength XML Schema facet.
Facet.MinExclusive This class represents the minExclusive XML Schema facet.
Facet.MinInclusive This class represents the minExclusive XML Schema facet.
Facet.MinLength This class represents the minLength XML Schema facet.
Facet.Pattern This class represents the pattern XML Schema facet.
Facet.TotalDigits This class represents the totalDigits XML Schema facet.
Facet.WhiteSpace This class represents the whiteSpace XML Schema facet.
Member This class represents the member of a structure or argument.
RepeatableSchemaConstruct Represents a "repeatable" schema construct.
SchemaConstruct This class is represents any schema construct.
SchemaConstruct.ConstructType An enumeration type for a schema constructs.
SimpleTypeEnumExtension Deprecated. this construct should be represented as Facet.Enumeration
SimpleTypeFacetsExtension This class represents collection of facets that forms restriction of some simple type.
SimpleTypeListExtension This class represents extra content of XMLSchema's sipleType/list construct.
SimpleTypeUnionExtension This class represents extra content of XMLSchema's simpleType/union construct.
Type This class represents the type of a member.
 

Exception Summary
SchemaException This exception is thrown if a schema parsing fails.
 

Package org.idoox.xml.schema Description

Provides a support for in-memory representation of XML Schema.

Example of usage:

        // create a parser via SchemaFactory
        SchemaFactory factory = (SchemaFactory) Context.getInstance(SchemaFactory.CONTEXT_SCHEMA_FACTORY);
        SchemaParser parser = factory.newSchemaParser();

        // parse schema
        parser.parse("http://systinet.com/schema.xsd");
        parser.resolve();

        // get schema
        Schema schema = parser.getSchema();
    

See SchemaParser, Schema, SchemaFactory.

Related Documentation

For XML Schema 2001 Specification, please see:

Since:
WASP 4.0