|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree.framework.xml.MinMaxExtractor
public class MinMaxExtractor
Provides methods to XSLT-Sheets that determine the min/max coordinates of a gml geometry.
The submitted node parameter must be set to the root node of the geometry.
Constructor Summary | |
---|---|
MinMaxExtractor()
|
Method Summary | |
---|---|
static String |
getMaxAsArray(Node node)
returns the minimum coordinate of the envelope of the geometry encoded by the passed node as a double array |
static String |
getMinAsArray(Node node)
returns the minimum coordinate of the envelope of the geometry encoded by the passed node as a double array |
static String |
getPointX(Node pointNode)
Extracts the x value of a gml:Point element described by pointNode |
static String |
getPointY(Node pointNode)
Extracts the y value of a gml:Point element described by pointNode |
static String |
getSRSName(Node node)
returns the the name of the SRS of the geometry encoded by the passed node as a double array |
static String |
getXMax(Node node)
|
static String |
getXMin(Node node)
|
static String |
getYMax(Node node)
|
static String |
getYMin(Node node)
|
static String |
getZMax(Node node)
|
static String |
getZMin(Node node)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MinMaxExtractor()
Method Detail |
---|
public static String getXMax(Node node) throws GeometryException
node
-
GeometryException
public static String getXMin(Node node) throws GeometryException
node
-
GeometryException
public static String getYMax(Node node) throws GeometryException
node
-
GeometryException
public static String getYMin(Node node) throws GeometryException
node
-
GeometryException
public static String getZMin(Node node) throws GeometryException
node
-
GeometryException
public static String getZMax(Node node) throws GeometryException
node
-
GeometryException
public static String getPointX(Node pointNode) throws GeometryException
pointNode
pointNode
- the point node from which the x value will be extracted. For example, node is
<gml:Point srsName="EPSG:31466"> <gml:coordinates cs="," decimal="." ts="
">0.0,0.0</gml:coordinates> </gml:Point>
GeometryException
public static String getPointY(Node pointNode) throws GeometryException
pointNode
pointNode
- the point node from which the y value will be extracted. For example, node is
<gml:Point srsName="EPSG:31466"> <gml:coordinates cs="," decimal="." ts="
">0.0,0.0</gml:coordinates> </gml:Point>
GeometryException
public static String getMinAsArray(Node node) throws GeometryException
node
-
GeometryException
public static String getMaxAsArray(Node node) throws GeometryException
node
-
GeometryException
public static String getSRSName(Node node)
node
-
|
deegree 2.6-pre (2011/11/29 00:10 build-378-unofficial) | |||||||||
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