org.geotools.gml
Class TestHandler

Object
  extended by XMLFilterImpl
      extended by TestHandler
All Implemented Interfaces:
GMLHandlerJTS, ContentHandler, DTDHandler, EntityResolver, ErrorHandler, XMLFilter, XMLReader

public class TestHandler
extends XMLFilterImpl
implements GMLHandlerJTS

Simple test implementation of GMLHandlerJTS. This very simple handler just prints every JTS geometry that it gets to the standard output.

Author:
Rob Hranac, Vision for New York
Module:
modules/library/main (gt-main.jar)

Constructor Summary
TestHandler()
           
 
Method Summary
 void geometry(Geometry geometry)
          Receives OGC simple feature type geometry from parent.
 
Methods inherited from class XMLFilterImpl
characters, endDocument, endElement, endPrefixMapping, error, fatalError, getContentHandler, getDTDHandler, getEntityResolver, getErrorHandler, getFeature, getParent, getProperty, ignorableWhitespace, notationDecl, parse, parse, processingInstruction, resolveEntity, setContentHandler, setDocumentLocator, setDTDHandler, setEntityResolver, setErrorHandler, setFeature, setParent, setProperty, skippedEntity, startDocument, startElement, startPrefixMapping, unparsedEntityDecl, warning
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Constructor Detail

TestHandler

public TestHandler()
Method Detail

geometry

public void geometry(Geometry geometry)
Description copied from interface: GMLHandlerJTS
Receives OGC simple feature type geometry from parent.

Specified by:
geometry in interface GMLHandlerJTS
Parameters:
geometry - the simple feature geometry


Copyright © 1996-2009 Geotools. All Rights Reserved.