org.postgis
public class PGgeometry extends org.postgresql.util.PGobject
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
SRIDPREFIX
The prefix that indicates SRID presence
|
| Constructor and Description |
|---|
PGgeometry() |
PGgeometry(Geometry geom) |
PGgeometry(java.lang.String value) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
clone() |
static Geometry |
geomFromString(java.lang.String value) |
static Geometry |
geomFromString(java.lang.String value,
BinaryParser bp)
Maybe we could add more error checking here?
|
static Geometry |
geomFromString(java.lang.String value,
BinaryParser bp,
boolean haveM) |
static Geometry |
geomFromString(java.lang.String value,
boolean haveM) |
Geometry |
getGeometry() |
int |
getGeoType() |
java.lang.String |
getValue() |
void |
setGeometry(Geometry newgeom) |
void |
setValue(java.lang.String value) |
static java.lang.String[] |
splitSRID(java.lang.String whole)
Splits a String at the first occurrence of border charachter.
|
java.lang.String |
toString() |
public static final java.lang.String SRIDPREFIX
public PGgeometry()
public PGgeometry(Geometry geom)
public PGgeometry(java.lang.String value)
throws java.sql.SQLException
java.sql.SQLExceptionpublic void setValue(java.lang.String value)
throws java.sql.SQLException
setValue in class org.postgresql.util.PGobjectjava.sql.SQLExceptionpublic static Geometry geomFromString(java.lang.String value) throws java.sql.SQLException
java.sql.SQLExceptionpublic static Geometry geomFromString(java.lang.String value, boolean haveM) throws java.sql.SQLException
java.sql.SQLExceptionpublic static Geometry geomFromString(java.lang.String value, BinaryParser bp) throws java.sql.SQLException
java.sql.SQLExceptionpublic static Geometry geomFromString(java.lang.String value, BinaryParser bp, boolean haveM) throws java.sql.SQLException
java.sql.SQLExceptionpublic Geometry getGeometry()
public void setGeometry(Geometry newgeom)
public int getGeoType()
public java.lang.String toString()
toString in class org.postgresql.util.PGobjectpublic java.lang.String getValue()
getValue in class org.postgresql.util.PGobjectpublic java.lang.Object clone()
clone in class org.postgresql.util.PGobjectpublic static java.lang.String[] splitSRID(java.lang.String whole)
throws java.sql.SQLException
java.sql.SQLExceptionCopyright © 2016. All Rights Reserved.