org.geotools.xml.handlers.xsi
Class ElementGroupingHandler

Object
  extended by XSIElementHandler
      extended by ElementGroupingHandler
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AllHandler, AnyHandler, ChoiceHandler, ElementTypeHandler, GroupHandler, SequenceHandler

public abstract class ElementGroupingHandler
extends XSIElementHandler

Allows the developer to avoid instanceof operators when wishing to compress.

Author:
dzwiers www.refractions.net
See Also:
Serialized Form
Module:
modules/library/xml (gt-xml.jar)

Field Summary
 
Fields inherited from class XSIElementHandler
DEFAULT, EXTENSION, FACET, LIST, logger, RESTRICTION, SEQUENCE, SIMPLETYPE, UNION
 
Constructor Summary
ElementGroupingHandler()
           
 
Method Summary
protected abstract  ElementGrouping compress(SchemaHandler parent)
           This will compress the given element based on it's type and the parent schema, allowing for references to be resolved.
 
Methods inherited from class XSIElementHandler
characters, endElement, equals, getHandler, getHandlerType, getLocalName, hashCode, setLogLevel, startElement
 
Methods inherited from class Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElementGroupingHandler

public ElementGroupingHandler()
Method Detail

compress

protected abstract ElementGrouping compress(SchemaHandler parent)
                                     throws SAXException

This will compress the given element based on it's type and the parent schema, allowing for references to be resolved.

Parameters:
parent -
Throws:
SAXException


Copyright © 1996-2009 Geotools. All Rights Reserved.