| java.lang.Object com.vividsolutions.jump.io.GMLGeometryWriter
GMLGeometryWriter | public class GMLGeometryWriter (Code) | | Writes or creates a formatted string containing the GML
representation of a JTS Geometry.
Supports a user-defined line prefix and a user-defined maximum number of coordinates per line.
Indents components of Geometries to provide a nicely-formatted representation.
|
GMLGeometryWriter | public GMLGeometryWriter()(Code) | | |
setGID | public void setGID(String gid)(Code) | | Sets the gid attribute to be output on the Geometry element.
If null no attribute will be output.
Parameters: srsName - |
setLinePrefix | public void setLinePrefix(String linePrefix)(Code) | | |
setMaximumCoordinatesPerLine | public void setMaximumCoordinatesPerLine(int maxCoordinatesPerLine)(Code) | | |
setSRSName | public void setSRSName(String srsName)(Code) | | Sets the srsName attribute to be output on the Geometry element.
If null no attribute will be output.
Parameters: srsName - |
write | public void write(Geometry g, StringBuffer buf)(Code) | | Generates the GML representation of a JTS Geometry.
Parameters: g - Geometry to output |
|
|