|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.geotools.gml.SubHandler
org.geotools.gml.SubHandlerMulti
Creates a MultiPoint, MultiLineString, or MultiPolygon geometry as required by the internal functions.
| Field Summary |
| Fields inherited from class org.geotools.gml.SubHandler |
GEOMETRY_END, GEOMETRY_START, GEOMETRY_SUB |
| Constructor Summary | |
SubHandlerMulti()
Empty constructor. |
|
| Method Summary | |
void |
addCoordinate(com.vividsolutions.jts.geom.Coordinate coordinate)
Adds a coordinate to the current internal (sub) geometry. |
com.vividsolutions.jts.geom.Geometry |
create(com.vividsolutions.jts.geom.GeometryFactory geometryFactory)
Returns a completed multi type. |
boolean |
isComplete(java.lang.String message)
Determines whether or not it is time to return this geometry. |
void |
subGeometry(java.lang.String message,
int type)
Handles all internal (sub) geometries. |
| Methods inherited from class org.geotools.gml.SubHandler |
toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SubHandlerMulti()
| Method Detail |
public void subGeometry(java.lang.String message,
int type)
subGeometry in class SubHandlermessage - The sub geometry type found.type - Whether or not it is at a start or end.public void addCoordinate(com.vividsolutions.jts.geom.Coordinate coordinate)
addCoordinate in class SubHandlercoordinate - The coordinate.public boolean isComplete(java.lang.String message)
isComplete in class SubHandlermessage - The geometry element that prompted this check.
public com.vividsolutions.jts.geom.Geometry create(com.vividsolutions.jts.geom.GeometryFactory geometryFactory)
create in class SubHandlergeometryFactory - The factory this method should use to create the
multi type.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||