|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.model.geometry.GMLAdapter
Constructor Summary | |
GMLAdapter()
|
Method Summary | |
private static java.lang.StringBuffer |
createCurve(GM_Curve o)
creates a GML expression of a curve geometry |
static GM_Envelope |
createGM_Envelope(GMLBox box)
creates a GM_Envelope object out from a GMLBox |
private static java.lang.StringBuffer |
createMultiCurve(GM_MultiCurve mp)
|
private static java.lang.StringBuffer |
createMultiPoint(GM_MultiPoint mp)
|
private static java.lang.StringBuffer |
createMultiSurface(GM_MultiSurface mp)
|
private static java.lang.StringBuffer |
createPoint(GM_Point o)
creates a GML expression of a point geometry |
private static java.lang.StringBuffer |
createSurface(GM_Surface sur)
|
static java.lang.String |
export(GM_Envelope envelope)
|
static java.lang.String |
export(GM_Object gmObject)
creates FeatureCollections from OGC WKBs |
private static GM_Surface |
wrap(GMLBox gmlBox)
|
static GM_Object |
wrap(GMLGeometry gml)
Converts a GML geometry object to a corresponding GM_Object. |
private static GM_Curve |
wrap(GMLLineString linestring)
creates a GM_CurveSegment from an array of GML-points. |
private static GM_Curve |
wrap(GMLLineString linestring,
java.lang.String multilineSRS)
creates a GM_CurveSegment from an array of GML-points. |
private static GM_MultiCurve |
wrap(GMLMultiLineString multilinestring)
creates a GM_MultiCurve from an GMLMultiLinestring. |
private static GM_MultiPoint |
wrap(GMLMultiPoint multipoint)
creates a GM_MultiPoint from a GMLMultiPoint |
private static GM_MultiSurface |
wrap(GMLMultiPolygon multipolygon)
creates a GM_MultiSurface |
private static GM_Point |
wrap(GMLPoint gml)
creates a GM_Point from a gml. |
private static GM_Point |
wrap(GMLPoint gml,
java.lang.String multipointSRS)
creates a GM_Point from a gml. |
private static GM_Surface |
wrap(GMLPolygon polygon)
creates a GM_Surface |
private static GM_Surface |
wrap(GMLPolygon polygon,
java.lang.String multipolygonSRS)
creates a GM_Surface |
static GM_Object |
wrap(java.lang.String gml)
Converts a GML geometry object to a corresponding GM_Object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public GMLAdapter()
Method Detail |
public static java.lang.String export(GM_Object gmObject) throws GM_Exception
GM_Exception
public static java.lang.String export(GM_Envelope envelope) throws GM_Exception
GM_Exception
public static GM_Object wrap(java.lang.String gml) throws GM_Exception
Currently, the following conversions are supported:
GM_Exception
- if type unsupported or conversion failedpublic static GM_Object wrap(GMLGeometry gml) throws GM_Exception
Currently, the following conversions are supported:
GM_Exception
- if type unsupported or conversion failedprivate static java.lang.StringBuffer createPoint(GM_Point o) throws java.rmi.RemoteException
o
- point geometry
java.rmi.RemoteException
private static java.lang.StringBuffer createCurve(GM_Curve o) throws java.rmi.RemoteException, GM_Exception
o
- curve geometry
GM_Exception
java.rmi.RemoteException
private static java.lang.StringBuffer createSurface(GM_Surface sur) throws java.rmi.RemoteException, GM_Exception
sur
-
java.rmi.RemoteException
GM_Exception
private static java.lang.StringBuffer createMultiPoint(GM_MultiPoint mp) throws java.rmi.RemoteException
mp
-
java.rmi.RemoteException
private static java.lang.StringBuffer createMultiCurve(GM_MultiCurve mp) throws java.rmi.RemoteException, GM_Exception
mp
-
java.rmi.RemoteException
GM_Exception
private static java.lang.StringBuffer createMultiSurface(GM_MultiSurface mp) throws java.rmi.RemoteException, GM_Exception
mp
-
java.rmi.RemoteException
GM_Exception
private static GM_Point wrap(GMLPoint gml) throws GM_Exception
gml
- a GMLPoint
GM_Exception
private static GM_Point wrap(GMLPoint gml, java.lang.String multipointSRS) throws GM_Exception
gml
- a GMLPoint
GM_Exception
private static GM_Curve wrap(GMLLineString linestring) throws GM_Exception
linestring
- a GMLLineString
GM_Exception
private static GM_Curve wrap(GMLLineString linestring, java.lang.String multilineSRS) throws GM_Exception
linestring
- a GMLLineString
GM_Exception
private static GM_Surface wrap(GMLPolygon polygon) throws GM_Exception
polygon
- GMLPolygon
GM_Exception
private static GM_Surface wrap(GMLPolygon polygon, java.lang.String multipolygonSRS) throws GM_Exception
polygon
- GMLPolygon
GM_Exception
private static GM_MultiPoint wrap(GMLMultiPoint multipoint) throws GM_Exception
multipoint
- GMLMultiPoint
GM_Exception
private static GM_MultiCurve wrap(GMLMultiLineString multilinestring) throws GM_Exception
multilinestring
- a GMLMultiLineString
GM_Exception
private static GM_MultiSurface wrap(GMLMultiPolygon multipolygon) throws GM_Exception
multipolygon
-
GM_Exception
public static GM_Envelope createGM_Envelope(GMLBox box)
private static GM_Surface wrap(GMLBox gmlBox) throws GM_Exception
gmlBox
-
GM_Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |