|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectproprietary.datasources.arcsde.ArcSDEWKTFactory
Class for converting Well Known Text(WKT) representations of a shape into their Shape counterparts.
Constructor Summary | |
ArcSDEWKTFactory()
Creates new WKTFactory |
Method Summary | |
static void |
main(java.lang.String[] inArgs)
Test the Parser |
static com.esri.sde.sdk.client.SeShape |
parseLineString(com.esri.sde.sdk.client.SeCoordinateReference coordRef,
java.lang.String inWKT)
Convert the Well Know Text (WKT) representation of a line string into a LineString. |
static com.esri.sde.sdk.client.SeShape |
parseMultiLineString(com.esri.sde.sdk.client.SeCoordinateReference coordRef,
java.lang.String inWKT)
Convert the Well Known Text (WKT) representaion of a multi line string into a MultiLineString. |
static com.esri.sde.sdk.client.SeShape |
parseMultiPoint(com.esri.sde.sdk.client.SeCoordinateReference coordRef,
java.lang.String inWKT)
Convert the Well Known Text (WKT) representation of a multi point into a MultiPoint. |
static com.esri.sde.sdk.client.SeShape |
parseMultiPolygon(com.esri.sde.sdk.client.SeCoordinateReference coordRef,
java.lang.String inWKT)
Convert the Well Known Text (WKT) representation of multi polygon into a MultiPolygon. |
static com.esri.sde.sdk.client.SeShape |
parsePoint(com.esri.sde.sdk.client.SeCoordinateReference coordRef,
java.lang.String inWKT)
Convert the Well Know Text (WKT) representation of a point into a Point. |
protected static com.esri.sde.sdk.client.SDEPoint |
parsePoint(java.lang.String inWKT,
int inStartIndex,
int inEndIndex)
parse a point from a space separated set of numbers. |
protected static com.esri.sde.sdk.client.SDEPoint[][] |
parsePointGroups(java.lang.String inWKT,
int inStartIndex,
int inEndIndex)
Parse muliple sets of points from a space separated comma delimited, and parenthetically grouped set of numbers. |
protected static com.esri.sde.sdk.client.SDEPoint[] |
parsePoints(java.lang.String inWKT,
int inStartIndex,
int inEndIndex)
parse a set of points from a space separated coma delimited set of numbers. |
static com.esri.sde.sdk.client.SeShape |
parsePolygon(com.esri.sde.sdk.client.SeCoordinateReference coordRef,
java.lang.String inWKT)
Convert the Well Know Text (WKT) representation of a polygon into a Polygon. |
static com.esri.sde.sdk.client.SeShape |
parseShape(com.esri.sde.sdk.client.SeCoordinateReference coordRef,
java.lang.String inWKT)
Retrieve the shape from the text string |
static void |
writePoints(com.esri.sde.sdk.client.SeShape shape)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ArcSDEWKTFactory()
Method Detail |
public static com.esri.sde.sdk.client.SeShape parseShape(com.esri.sde.sdk.client.SeCoordinateReference coordRef, java.lang.String inWKT) throws java.lang.Exception
java.lang.Exception
public static com.esri.sde.sdk.client.SeShape parsePoint(com.esri.sde.sdk.client.SeCoordinateReference coordRef, java.lang.String inWKT) throws java.lang.Exception
java.lang.Exception
public static com.esri.sde.sdk.client.SeShape parseLineString(com.esri.sde.sdk.client.SeCoordinateReference coordRef, java.lang.String inWKT) throws java.lang.Exception
java.lang.Exception
public static com.esri.sde.sdk.client.SeShape parsePolygon(com.esri.sde.sdk.client.SeCoordinateReference coordRef, java.lang.String inWKT) throws java.lang.Exception
java.lang.Exception
public static com.esri.sde.sdk.client.SeShape parseMultiPoint(com.esri.sde.sdk.client.SeCoordinateReference coordRef, java.lang.String inWKT) throws java.lang.Exception
java.lang.Exception
public static com.esri.sde.sdk.client.SeShape parseMultiLineString(com.esri.sde.sdk.client.SeCoordinateReference coordRef, java.lang.String inWKT) throws java.lang.Exception
java.lang.Exception
public static com.esri.sde.sdk.client.SeShape parseMultiPolygon(com.esri.sde.sdk.client.SeCoordinateReference coordRef, java.lang.String inWKT) throws java.lang.Exception
java.lang.Exception
protected static com.esri.sde.sdk.client.SDEPoint parsePoint(java.lang.String inWKT, int inStartIndex, int inEndIndex) throws java.lang.Exception
java.lang.Exception
protected static com.esri.sde.sdk.client.SDEPoint[] parsePoints(java.lang.String inWKT, int inStartIndex, int inEndIndex) throws java.lang.Exception
java.lang.Exception
protected static com.esri.sde.sdk.client.SDEPoint[][] parsePointGroups(java.lang.String inWKT, int inStartIndex, int inEndIndex) throws java.lang.Exception
java.lang.Exception
public static void main(java.lang.String[] inArgs)
public static void writePoints(com.esri.sde.sdk.client.SeShape shape)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |