Package org.geotools.xml.schema

Schema Interfaces Overview This package is intended to provide all the necessary interfaces to semantically represent an XML Schema.

See:
          Description

Interface Summary
All Instances of this interface are intended to represent the 'all' construct in an XML Schema.
Any Instances of this interface are intended to represent the 'any' construct in an XML Schema.
Attribute An instance of this interface should represent an Attribute from an XML schema.
AttributeGroup This interface is intended to represent an XML Schema AttributeGroup.
AttributeValue DOCUMENT ME!
Choice This interface is intended to represent a Choice in an XML Schema.
ComplexType This interface is intended to represent an XML Schema complexType.
Element Instances of this interface are intended to represent XML Schema Elements.
ElementGrouping This represents an abstract collection of xml element definitions within a Schema.
ElementValue This interface is intended to represent a data structure to pass resolved Child elements to the parent element.
Facet DOCUMENT ME!
Group This interface is intended to represent the Group construct within XML Schemas.
Schema This Interface is intended to represent the public portion of an XML Schema.
Sequence This interface is intended to represent a Sequence in an XML Schema.
SimpleType This interface is intended to represent an XML Schema simple type.
Type This is a convinience interface to help speed up the code, allowing for any type definition to handled in a consistent manner, independant of whether it's nested or not.
 

Package org.geotools.xml.schema Description

Schema Interfaces

Overview

This package is intended to provide all the necessary interfaces to semantically represent an XML Schema. Some of the concious shortcomings of this interface set include the in-ability to reproduce exact xml schema documents from a schema represented in memory using just these interfaces (some non-essential constructs have been removed/ignored).

Implementors creating instances of this package should refer to the SchemaFactory (org.geotools.gml) to link your implmentation into the parser.

How to make an extension

This is easy to describe, but hard to implement (or rather to test + debug). Essentially you should create a class that implements Schema, and register it with the SchemaFactory. When creating the appropriate Types as part of the Schema (I assume your Schema will have these) you can link extra parsing into the getValue method (see Type Interface).



Copyright © GeoTools. All Rights Reserved.