org.geotools.xml.handlers.xsi
Class ElementGroupingHandler

java.lang.Object
  extended byorg.geotools.xml.XSIElementHandler
      extended byorg.geotools.xml.handlers.xsi.ElementGroupingHandler
All Implemented Interfaces:
java.io.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

Field Summary
 
Fields inherited from class org.geotools.xml.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 org.geotools.xml.XSIElementHandler
characters, endElement, equals, getHandler, getHandlerType, getLocalName, hashCode, setLogLevel, startElement
 
Methods inherited from class java.lang.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 org.xml.sax.SAXException

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

Parameters:
parent -
Returns:
Throws:
org.xml.sax.SAXException


Copyright © GeoTools. All Rights Reserved.