|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.sde.sdk.geom.SeGeometrySource
public class SeGeometrySource
This class implements interface GeometrySource.
Constructor Summary | |
---|---|
SeGeometrySource()
|
Method Summary | |
---|---|
void |
enableGeometry(java.sql.Connection conn)
|
Geometry |
geometry(java.lang.Class type,
Geometry[] parts)
|
Geometry |
geometry(java.lang.Class type,
java.util.Vector parts)
|
static void |
geometryFactory(GeometryFactory factory,
byte[] sdeByteStream)
This method takes an esri shape binary representation and a spatial reference system identity and returns a geometry object. |
static void |
geometryFactory(GeometryFactory factory,
byte[] sdeByteStream,
SeCoordRef coordRef)
This method takes an esri shape binary representation and a spatial reference system identity and returns a geometry object. |
static Geometry |
geometryFromShape(java.io.ByteArrayInputStream sdeByteStream,
SeCoordRef cr)
This method takes an esri shape binary representation and a spatial reference system identity and returns a geometry object. |
Geometry |
geometryFromWKB(java.io.InputStream wkbByteStream,
int srid)
This method takes a well-known binary representation and a spatial reference system identity to return a geometry object. |
Geometry |
geometryFromWKT(java.lang.String WKT,
int srid)
This method takes a well-known text representation and a spatial reference system identity and returns a geometry object. |
Geometry |
geometryFromWKT(java.lang.String WKT,
SeCoordRef cr)
This method takes a well-known text representation and a spatial reference system identity and returns a geometry object. |
java.lang.String |
sridToWKT(int srid)
Returns the well-known text for spatial reference system given its SRID. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SeGeometrySource()
Method Detail |
---|
public Geometry geometryFromWKB(java.io.InputStream wkbByteStream, int srid) throws com.esri.sde.sdk.geom.SeGeometryException
geometryFromWKB
in interface GeometrySource
com.esri.sde.sdk.geom.SeGeometryException
public Geometry geometryFromWKT(java.lang.String WKT, int srid)
geometryFromWKT
in interface GeometrySource
public Geometry geometryFromWKT(java.lang.String WKT, SeCoordRef cr) throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public static Geometry geometryFromShape(java.io.ByteArrayInputStream sdeByteStream, SeCoordRef cr) throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public static void geometryFactory(GeometryFactory factory, byte[] sdeByteStream) throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public static void geometryFactory(GeometryFactory factory, byte[] sdeByteStream, SeCoordRef coordRef) throws com.esri.sde.sdk.geom.SeGeometryException
com.esri.sde.sdk.geom.SeGeometryException
public Geometry geometry(java.lang.Class type, Geometry[] parts) throws GeometryException
geometry
in interface GeometrySource
GeometryException
public Geometry geometry(java.lang.Class type, java.util.Vector parts) throws GeometryException
geometry
in interface GeometrySource
GeometryException
public java.lang.String sridToWKT(int srid) throws java.sql.SQLException, GeometryException.InvalidSrid
sridToWKT
in interface GeometrySource
java.sql.SQLException
- when a failed database
access prevents retrieval of the WKT.
GeometryException.InvalidSrid
public void enableGeometry(java.sql.Connection conn) throws java.sql.SQLException
enableGeometry
in interface GeometrySource
java.sql.SQLException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |