|
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.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 java.lang.String |
getMaxAsArray(org.w3c.dom.Node node)
returns the minimum coordinate of the envelope of the geometry encoded by the passed node as a double array |
static java.lang.String |
getMinAsArray(org.w3c.dom.Node node)
returns the minimum coordinate of the envelope of the geometry encoded by the passed node as a double array |
static java.lang.String |
getPointX(org.w3c.dom.Node pointNode)
Extracts the x value of a gml:Point element described by pointNode |
static java.lang.String |
getPointY(org.w3c.dom.Node pointNode)
Extracts the y value of a gml:Point element described by pointNode |
static java.lang.String |
getSRSName(org.w3c.dom.Node node)
returns the the name of the SRS of the geometry encoded by the passed node as a double array |
static java.lang.String |
getXMax(org.w3c.dom.Node node)
|
static java.lang.String |
getXMin(org.w3c.dom.Node node)
|
static java.lang.String |
getYMax(org.w3c.dom.Node node)
|
static java.lang.String |
getYMin(org.w3c.dom.Node node)
|
static java.lang.String |
getZMax(org.w3c.dom.Node node)
|
static java.lang.String |
getZMin(org.w3c.dom.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 java.lang.String getXMax(org.w3c.dom.Node node) throws GeometryException
node
-
GeometryException
public static java.lang.String getXMin(org.w3c.dom.Node node) throws GeometryException
node
-
GeometryException
public static java.lang.String getYMax(org.w3c.dom.Node node) throws GeometryException
node
-
GeometryException
public static java.lang.String getYMin(org.w3c.dom.Node node) throws GeometryException
node
-
GeometryException
public static java.lang.String getZMin(org.w3c.dom.Node node) throws GeometryException
node
-
GeometryException
public static java.lang.String getZMax(org.w3c.dom.Node node) throws GeometryException
node
-
GeometryException
public static java.lang.String getPointX(org.w3c.dom.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 java.lang.String getPointY(org.w3c.dom.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 java.lang.String getMinAsArray(org.w3c.dom.Node node) throws GeometryException
node
-
GeometryException
public static java.lang.String getMaxAsArray(org.w3c.dom.Node node) throws GeometryException
node
-
GeometryException
public static java.lang.String getSRSName(org.w3c.dom.Node node)
node
-
|
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