public class SubHandlerLinearRing extends SubHandler
GEOMETRY_END, GEOMETRY_START, GEOMETRY_SUB
Constructor and Description |
---|
SubHandlerLinearRing()
Creates a new instance of GMLLinearRingHandler.
|
Modifier and Type | Method and Description |
---|---|
void |
addCoordinate(Coordinate coordinate)
Adds a coordinate to the LinearRing.
|
Geometry |
create(GeometryFactory geometryFactory)
Create the LinearRing.
|
boolean |
isComplete(String message)
Determine whether or not this LinearRing is ready to be created.
|
getSRID, getSRS, setSRS, subGeometry, toString
public SubHandlerLinearRing()
public void addCoordinate(Coordinate coordinate)
addCoordinate
in class SubHandler
coordinate
- The coordinate to add to the LinearRing.public boolean isComplete(String message)
isComplete
in class SubHandler
message
- The current geometry type in the GML stream.public Geometry create(GeometryFactory geometryFactory)
create
in class SubHandler
geometryFactory
- The geometry factory used for the build.Copyright © 1996–2019 Geotools. All rights reserved.