Constructor and Description |
---|
JtsGeometryConverter() |
Modifier and Type | Method and Description |
---|---|
String |
format(com.vividsolutions.jts.geom.Geometry value)
Converts a value of the type returned by
Converter.getValueType() to its
plain text representation. |
Class<? extends com.vividsolutions.jts.geom.Geometry> |
getValueType()
Gets the value type.
|
com.vividsolutions.jts.geom.Geometry |
parse(String text)
Converts a value from its plain text representation to a Java object instance
of the type returned by
Converter.getValueType() . |
static void |
registerConverter() |
public Class<? extends com.vividsolutions.jts.geom.Geometry> getValueType()
Converter
getValueType
in interface Converter<com.vividsolutions.jts.geom.Geometry>
public com.vividsolutions.jts.geom.Geometry parse(String text) throws ConversionException
Converter
Converter.getValueType()
.parse
in interface Converter<com.vividsolutions.jts.geom.Geometry>
text
- The textual representation of the value.ConversionException
- If the conversion fails.public String format(com.vividsolutions.jts.geom.Geometry value)
Converter
Converter.getValueType()
to its
plain text representation.public static void registerConverter()
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.