|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.gml.SubHandler
Specifies how a generic OGC simple geometry handler should behave.
Field Summary | |
static int |
GEOMETRY_END
Indicates end of a geometry. |
static int |
GEOMETRY_START
Indicates start of a geometry. |
static int |
GEOMETRY_SUB
Indicates a sub geometry message. |
Constructor Summary | |
SubHandler()
|
Method Summary | |
abstract void |
addCoordinate(com.vividsolutions.jts.geom.Coordinate coordinate)
Adds a coordinate to the object being built if appropriate. |
abstract com.vividsolutions.jts.geom.Geometry |
create(com.vividsolutions.jts.geom.GeometryFactory geometryFactory)
Creates a new JTS geometry. |
abstract boolean |
isComplete(java.lang.String message)
Determines whether or not the geometry is ready to return. |
void |
subGeometry(java.lang.String message,
int type)
Tells the handler that it just saw a subhandler. |
java.lang.String |
toString()
Describes the handler. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int GEOMETRY_START
public static final int GEOMETRY_END
public static final int GEOMETRY_SUB
Constructor Detail |
public SubHandler()
Method Detail |
public abstract void addCoordinate(com.vividsolutions.jts.geom.Coordinate coordinate)
coordinate
- Coordinate to addpublic void subGeometry(java.lang.String message, int type)
message
- The sub geometry message (i.e. isInnerBoundary).type
- The type of sub message (start, end, etc.)public abstract boolean isComplete(java.lang.String message)
message
- The geometry to inspect.
public abstract com.vividsolutions.jts.geom.Geometry create(com.vividsolutions.jts.geom.GeometryFactory geometryFactory)
geometryFactory
- The JTS geometry factory to use for geometry
creation.
public java.lang.String toString()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |