| java.lang.Object org.geotools.gml.SubHandler org.geotools.gml.SubHandlerMulti
SubHandlerMulti | public class SubHandlerMulti extends SubHandler (Code) | | Creates a MultiPoint, MultiLineString, or MultiPolygon geometry as required
by the internal functions.
author: Ian Turton, CCG author: Rob Hranac, Vision for New York version: $Id: SubHandlerMulti.java 27862 2007-11-12 19:51:19Z desruisseaux $ |
Method Summary | |
public void | addCoordinate(Coordinate coordinate) Adds a coordinate to the current internal (sub) geometry. | public Geometry | create(GeometryFactory geometryFactory) Returns a completed multi type.
Parameters: geometryFactory - The factory this method should use to create themulti type. | public boolean | isComplete(String message) Determines whether or not it is time to return this geometry.
Parameters: message - The geometry element that prompted this check. | public void | subGeometry(String message, int type) Handles all internal (sub) geometries. |
SubHandlerMulti | public SubHandlerMulti()(Code) | | Empty constructor.
|
addCoordinate | public void addCoordinate(Coordinate coordinate)(Code) | | Adds a coordinate to the current internal (sub) geometry.
Parameters: coordinate - The coordinate. |
create | public Geometry create(GeometryFactory geometryFactory)(Code) | | Returns a completed multi type.
Parameters: geometryFactory - The factory this method should use to create themulti type. Appropriate multi geometry type. |
isComplete | public boolean isComplete(String message)(Code) | | Determines whether or not it is time to return this geometry.
Parameters: message - The geometry element that prompted this check. DOCUMENT ME! |
subGeometry | public void subGeometry(String message, int type)(Code) | | Handles all internal (sub) geometries.
Parameters: message - The sub geometry type found. Parameters: type - Whether or not it is at a start or end. |
|
|