|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deegree.ogcwebservices.wcts.data.TransformableData<javax.vecmath.Point3d> org.deegree.ogcwebservices.wcts.data.SimpleData
public class SimpleData
SimpleData
takes a list of points which will be transformed.
Constructor Summary | |
---|---|
SimpleData()
using default values, cs="," and ts='space' |
|
SimpleData(java.util.List<javax.vecmath.Point3d> transformableData,
java.lang.String cs,
java.lang.String ts)
Creates a simple data instance. |
Method Summary | |
---|---|
void |
doTransform(CoordinateSystem sourceCRS,
CoordinateSystem targetCRS,
boolean enableLogging)
This function should implement the transforming of the underlying data. |
void |
doTransform(Transformation transformation,
boolean enableLogging)
This function should implement the transforming of the underlying data. |
java.lang.String |
getCoordinateSeparator()
|
java.util.List<javax.vecmath.Point3d> |
getTransformedData()
|
java.lang.String |
getTupleSeparator()
|
boolean |
hasData()
|
static java.util.List<javax.vecmath.Point3d> |
parseData(java.lang.String simpleData,
int sourceDim,
java.lang.String cs,
java.lang.String ts,
java.lang.String ds)
Parses a String of data into the appropriate Point3d, according to the given cs, ts and coordinate dimension. |
Methods inherited from class org.deegree.ogcwebservices.wcts.data.TransformableData |
---|
getGeotransformer, getGeotransformer |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SimpleData(java.util.List<javax.vecmath.Point3d> transformableData, java.lang.String cs, java.lang.String ts) throws java.lang.IllegalArgumentException
transformableData
- cs
- the coordinate separatorts
- the tuple separator
java.lang.IllegalArgumentException
- if either one of the crs's are null
.public SimpleData()
Method Detail |
---|
public void doTransform(CoordinateSystem sourceCRS, CoordinateSystem targetCRS, boolean enableLogging)
TransformableData
doTransform
in class TransformableData<javax.vecmath.Point3d>
sourceCRS
- of the incoming pointstargetCRS
- of the outgoing pointsenableLogging
- if true the implementing class should log all transformations.public void doTransform(Transformation transformation, boolean enableLogging) throws OGCWebServiceException
TransformableData
doTransform
in class TransformableData<javax.vecmath.Point3d>
transformation
- to use for the transform.enableLogging
- if true the implementing class should log all transformations.
OGCWebServiceException
- if an exception occurs while transforming.public boolean hasData()
public java.util.List<javax.vecmath.Point3d> getTransformedData()
getTransformedData
in class TransformableData<javax.vecmath.Point3d>
Geometry
(GeometyData), or Point3d
(SimpleData).public final java.lang.String getTupleSeparator()
public final java.lang.String getCoordinateSeparator()
public static java.util.List<javax.vecmath.Point3d> parseData(java.lang.String simpleData, int sourceDim, java.lang.String cs, java.lang.String ts, java.lang.String ds)
simpleData
- a String containing the datasourceDim
- the dimension of the source coordinate system, in which the points are defined.cs
- the coordinate separator.ts
- the tuple separator.ds
- the decimal separator currently not evaluated.
null
|
deegree 2.5 (2011/06/29 09:44 build-8-official) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org