|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.gml.SubHandler org.geotools.gml.SubHandlerBox
Creates a simple OGC box.
Field Summary |
Fields inherited from class org.geotools.gml.SubHandler |
GEOMETRY_END, GEOMETRY_START, GEOMETRY_SUB |
Constructor Summary | |
SubHandlerBox()
Creates a new instance of GMLBoxHandler. |
Method Summary | |
void |
addCoordinate(com.vividsolutions.jts.geom.Coordinate c)
Sets a corner. |
com.vividsolutions.jts.geom.Geometry |
create(com.vividsolutions.jts.geom.GeometryFactory geometryFactory)
Builds and returns the polygon. |
boolean |
isComplete(java.lang.String message)
Sets a corner. |
Methods inherited from class org.geotools.gml.SubHandler |
subGeometry, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public SubHandlerBox()
Method Detail |
public void addCoordinate(com.vividsolutions.jts.geom.Coordinate c)
addCoordinate
in class SubHandler
c
- the coordinate of the corner.public boolean isComplete(java.lang.String message)
isComplete
in class SubHandler
message
- The geometry to inspect.
public com.vividsolutions.jts.geom.Geometry create(com.vividsolutions.jts.geom.GeometryFactory geometryFactory)
create
in class SubHandler
geometryFactory
- the geometryFactory to be used to build the
polygon.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |