|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectSubHandler
SubHandlerMulti
public class SubHandlerMulti
Creates a MultiPoint, MultiLineString, or MultiPolygon geometry as required by the internal functions.
modules/library/main (gt-main.jar)
Field Summary |
---|
Fields inherited from class SubHandler |
---|
GEOMETRY_END, GEOMETRY_START, GEOMETRY_SUB |
Constructor Summary | |
---|---|
SubHandlerMulti()
Empty constructor. |
Method Summary | |
---|---|
void |
addCoordinate(Coordinate coordinate)
Adds a coordinate to the current internal (sub) geometry. |
Geometry |
create(GeometryFactory geometryFactory)
Returns a completed multi type. |
boolean |
isComplete(String message)
Determines whether or not it is time to return this geometry. |
void |
subGeometry(String message,
int type)
Handles all internal (sub) geometries. |
Methods inherited from class SubHandler |
---|
getSRID, getSRS, setSRS, toString |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public SubHandlerMulti()
Method Detail |
---|
public void subGeometry(String message, int type)
subGeometry
in class SubHandler
message
- The sub geometry type found.type
- Whether or not it is at a start or end.public void addCoordinate(Coordinate coordinate)
addCoordinate
in class SubHandler
coordinate
- The coordinate.public boolean isComplete(String message)
isComplete
in class SubHandler
message
- The geometry element that prompted this check.
public Geometry create(GeometryFactory geometryFactory)
create
in class SubHandler
geometryFactory
- 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 |