|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.vividsolutions.jts.io.gml2.GMLWriter
Writes JTS Geometries as GML2 into the writer provided, or as a string.
Constructor Summary | |
GMLWriter()
|
Method Summary | |
void |
setMaxCoordinatesPerLine(int arg)
Sets the number of coordinates printed per line. |
void |
setPrefix(java.lang.String prefix)
Allows the user to force a prefix for the GML namespace. |
void |
setStartingIndentIndex(int arg)
Sets the starting index for preaty printing |
java.lang.String |
write(Geometry geom)
|
void |
write(Geometry geom,
java.io.Writer writer)
Writes the JTS Geometry provided as GML2 into the writer provided. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GMLWriter()
Method Detail |
public void setPrefix(java.lang.String prefix)
prefix
- public void setStartingIndentIndex(int arg)
arg
- public void setMaxCoordinatesPerLine(int arg)
arg
- public java.lang.String write(Geometry geom) throws java.io.IOException
geom
-
java.io.IOException
public void write(Geometry geom, java.io.Writer writer) throws java.io.IOException
geom
- Geometry to encodewriter
- Stream to encode to.
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |