Package net.postgis.jdbc
Class PGgeometry
- java.lang.Object
-
- org.postgresql.util.PGobject
-
- net.postgis.jdbc.PGgeo
-
- net.postgis.jdbc.PGgeometry
-
- All Implemented Interfaces:
Serializable,Cloneable
- Direct Known Subclasses:
PGgeometryLW
public class PGgeometry extends PGgeo
A PostgreSQL JDBC PGobject extension data type modeling the geometry type.- Author:
- Phillip Ross
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PGgeometry()Instantiate with default state.PGgeometry(String value)Instantiate with the specified state.PGgeometry(Geometry geometry)Instantiate with the specified state.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Objectclone()-
Methods inherited from class net.postgis.jdbc.PGgeo
getGeometry, getGeoType, getValue, setGeometry, setValue, toString
-
-
-
-
Constructor Detail
-
PGgeometry
public PGgeometry()
Instantiate with default state.
-
PGgeometry
public PGgeometry(Geometry geometry)
Instantiate with the specified state.- Parameters:
geometry- the geometry to instantiate with
-
PGgeometry
public PGgeometry(String value) throws SQLException
Instantiate with the specified state.- Parameters:
value- the value to instantiate with- Throws:
SQLException
-
-