org.geotools.gml
Interface GMLHandlerGeometry

All Superinterfaces:
org.xml.sax.ContentHandler
All Known Implementing Classes:
GMLFilterGeometry

public interface GMLHandlerGeometry
extends org.xml.sax.ContentHandler

LEVEL2 saxGML4j GML handler: Gets basic alerts from GMLFilterDocument.

This handler is required for any parent of a GMLFilterDocument filter. It receives basic element notifications and coordinates.

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

Method Summary
 void geometryEnd(java.lang.String localName)
          Receives a geometry end element from the parent.
 void geometryStart(java.lang.String localName, org.xml.sax.Attributes atts)
          Receives a geometry start element from the parent.
 void geometrySub(java.lang.String localName)
          Receives a geometry sub element from the parent.
 void gmlCoordinates(double x, double y)
          Receives a finished coordinate from the parent (2-valued).
 void gmlCoordinates(double x, double y, double z)
          Receives a finished coordinate from the parent (3-valued).
 
Methods inherited from interface org.xml.sax.ContentHandler
characters, endDocument, endElement, endPrefixMapping, ignorableWhitespace, processingInstruction, setDocumentLocator, skippedEntity, startDocument, startElement, startPrefixMapping
 

Method Detail

geometryStart

public void geometryStart(java.lang.String localName,
                          org.xml.sax.Attributes atts)
                   throws org.xml.sax.SAXException
Receives a geometry start element from the parent.

Throws:
org.xml.sax.SAXException

geometryEnd

public void geometryEnd(java.lang.String localName)
                 throws org.xml.sax.SAXException
Receives a geometry end element from the parent.

Throws:
org.xml.sax.SAXException

geometrySub

public void geometrySub(java.lang.String localName)
                 throws org.xml.sax.SAXException
Receives a geometry sub element from the parent.

Throws:
org.xml.sax.SAXException

gmlCoordinates

public void gmlCoordinates(double x,
                           double y)
                    throws org.xml.sax.SAXException
Receives a finished coordinate from the parent (2-valued).

Throws:
org.xml.sax.SAXException

gmlCoordinates

public void gmlCoordinates(double x,
                           double y,
                           double z)
                    throws org.xml.sax.SAXException
Receives a finished coordinate from the parent (3-valued).

Throws:
org.xml.sax.SAXException


Copyright © GeoTools. All Rights Reserved.