org.geotools.gml
Class TestHandler

java.lang.Object
  extended byorg.xml.sax.helpers.XMLFilterImpl
      extended byorg.geotools.gml.TestHandler
All Implemented Interfaces:
org.xml.sax.ContentHandler, org.xml.sax.DTDHandler, org.xml.sax.EntityResolver, org.xml.sax.ErrorHandler, GMLHandlerJTS, org.xml.sax.XMLFilter, org.xml.sax.XMLReader

public class TestHandler
extends org.xml.sax.helpers.XMLFilterImpl
implements GMLHandlerJTS

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

Version:
$Id: TestHandler.java 17701 2006-01-23 00:00:51Z desruisseaux $
Author:
Rob Hranac, Vision for New York

Constructor Summary
TestHandler()
           
 
Method Summary
 void geometry(com.vividsolutions.jts.geom.Geometry geometry)
          Receives OGC simple feature type geometry from parent.
 
Methods inherited from class org.xml.sax.helpers.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 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Constructor Detail

TestHandler

public TestHandler()
Method Detail

geometry

public void geometry(com.vividsolutions.jts.geom.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 © GeoTools. All Rights Reserved.