org.geotools.xml.handlers.xsi |
Overview
This package contains information about xml schemas, and processes to create
parse and interpret Schema. One of the more important function is the
simplification of a Schema into the interface in the xsi package, as well as
compressing some of the heirarchy.
These classes should be used by assessing the SchemaFactory.
Future Work / Caveat
Work can be completed on two fronts, improving the compression algorithms
for the Schema compression. The second major work for this schema should be to
encode the Schema parsing (this package) as a Schema Object, using the document
parser to complete the same task through an xsi extension.
Although it was evident early on that these tasks were similar, the exact
nature and method of bootstrapping the process was not evident. Converting
these classes to a Schema definition similar to GML would simplify the code,
making it easier to maintain.
|
Java Source File Name | Type | Comment |
AllHandler.java | Class | AllHandler purpose.
This represents an 'all' element in an xml schema.
author: dzwiers, Refractions Research, Inc. |
AnyAttributeHandler.java | Class | AnyAttributeHandler purpose.
Represents an 'anyAttribute' element in an xml schema
author: dzwiers, Refractions Research, Inc. |
AnyHandler.java | Class | AnyHandler purpose.
Represents an 'any' element.
author: dzwiers, Refractions Research, Inc. |
AttributeGroupHandler.java | Class | AttributeGroupHandler purpose.
Represents an 'attributeGroup' element.
author: dzwiers, Refractions Research, Inc. |
AttributeHandler.java | Class | AttributeHandler purpose.
Represents an 'attribute' element
Example Use:
AttributeHandler x = new AttributeHandler(...);
author: dzwiers, Refractions Research, Inc. |
ChoiceHandler.java | Class | ChoiceHandler purpose.
represtents a 'choice' element
author: dzwiers, Refractions Research, Inc. |
ComplexContentHandler.java | Class | |
ComplexTypeHandler.java | Class | ComplexTypeHandler purpose.
Represents a ComplexType element
When a specific method of encoding is not specified then the following output will be returned:
ElementValue[]{(null,Attributes),(Element,Value)*,(null,String)?}
Where the last element will be included iff there is child text. |
ElementGroupingHandler.java | Class |
Allows the developer to avoid instanceof operators when wishing to compress. |
ElementTypeHandler.java | Class | ElementTypeHandler purpose.
Represtents an 'element' declaration.
author: dzwiers, Refractions Research, Inc. |
ExtensionHandler.java | Class | |
FacetHandler.java | Class | FacetHandler purpose.
Abstract class representing common Facet abilites + attributes.
author: dzwiers, Refractions Research, Inc. |
FieldHandler.java | Class | FieldHandler purpose.
Represents a 'field' element. |
GroupHandler.java | Class | GroupHandler purpose.
Representa a 'group' element
author: dzwiers, Refractions Research, Inc. |
IgnoreHandler.java | Class |
Used to represent elements which are not important to our parse, basically
place holders.
author: dzwiers, Refractions Research, Inc. |
ImportHandler.java | Class | ImportHandler purpose.
Represents an 'import' element.
author: dzwiers, Refractions Research, Inc. |
IncludeHandler.java | Class | ImportHandler purpose.
Represents an 'include' element
author: dzwiers, Refractions Research, Inc. |
KeyHandler.java | Class | KeyHandler purpose.
represents a 'key' element. |
KeyrefHandler.java | Class | KeyrefHandler purpose.
represents a 'keyref' element. |
ListHandler.java | Class | ListHandler purpose.
represents a 'list' element
author: dzwiers, Refractions Research, Inc. |
RedefineHandler.java | Class | RedefineHandler purpose.
represents a 'redefine' element
author: dzwiers, Refractions Research, Inc. |
RestrictionHandler.java | Class | RestrictionHandler purpose.
Represents a restriction element
author: dzwiers, Refractions Research, Inc. |
RootHandler.java | Class | RootHandler purpose.
This is intended to bootstrap the schema parsing
author: dzwiers, Refractions Research, Inc. |
SchemaHandler.java | Class | SchemaHandler purpose.
represents a Schema element
author: dzwiers, Refractions Research, Inc. |
SelectorHandler.java | Class | SelectorHandler purpose.
Represents a selector element
author: dzwiers, Refractions Research, Inc. |
SequenceHandler.java | Class | SequenceHandler purpose.
represents a sequence element
author: dzwiers, Refractions Research, Inc. |
SimpleContentHandler.java | Class | |
SimpleTypeHandler.java | Class | SimpleTypeHandler purpose.
represents a simpleType element
author: dzwiers, Refractions Research, Inc. |
UnionHandler.java | Class | UnionHandler purpose.
represents a union element
author: dzwiers, Refractions Research, Inc. |
UniqueHandler.java | Class | UniqueHandler purpose.
represents a unique element. |