public class JtsGeometry
extends org.postgresql.util.PGobject
| Constructor and Description |
|---|
JtsGeometry()
Constructor called by JDBC drivers
|
JtsGeometry(com.vividsolutions.jts.geom.Geometry geom) |
JtsGeometry(String value) |
| Modifier and Type | Method and Description |
|---|---|
Object |
clone() |
boolean |
equals(Object obj) |
static com.vividsolutions.jts.geom.Geometry |
geomFromString(String value) |
com.vividsolutions.jts.geom.Geometry |
getGeometry() |
String |
getValue() |
static void |
setSridRecurse(com.vividsolutions.jts.geom.Geometry geom,
int srid)
Recursively set a srid for the geometry and all subgeometries
|
void |
setValue(String value) |
String |
toString() |
public JtsGeometry()
public JtsGeometry(com.vividsolutions.jts.geom.Geometry geom)
public JtsGeometry(String value) throws SQLException
SQLExceptionpublic void setValue(String value) throws SQLException
setValue in class org.postgresql.util.PGobjectSQLExceptionpublic static com.vividsolutions.jts.geom.Geometry geomFromString(String value) throws SQLException
SQLExceptionpublic static void setSridRecurse(com.vividsolutions.jts.geom.Geometry geom,
int srid)
geom - Geometry to work onsrid - SRID to be set topublic com.vividsolutions.jts.geom.Geometry getGeometry()
public String toString()
toString in class org.postgresql.util.PGobjectpublic String getValue()
getValue in class org.postgresql.util.PGobjectpublic Object clone()
clone in class org.postgresql.util.PGobjectpublic boolean equals(Object obj)
equals in class org.postgresql.util.PGobjectCopyright © 2015. All rights reserved.