public class GmlUtils extends Object
Modifier and Type | Class and Description |
---|---|
(package private) static class |
GmlUtils.GmlNamespaceContext
A NamespaceContext that only recognizes the conventional "gml" namespace
prefix.
|
(package private) static class |
GmlUtils.NodeNamespaceContext
A NamespaceContext that provides the in-scope namespace bindings for a
given DOM Node.
|
Modifier and Type | Field and Description |
---|---|
static String |
GML_NS |
static String |
SRS_NAME |
Constructor and Description |
---|
GmlUtils() |
Modifier and Type | Method and Description |
---|---|
static String |
findCRSReference(Element geom)
Returns the value of the srsName attribute for the given geometry
element.
|
static void |
setSrsNameOnCollectionMembers(Node... geometryNodes)
Sets the srsName attribute on all members of a GML geometry collection if
it is specified for the collection.
|
public static final String SRS_NAME
public static final String GML_NS
public static void setSrsNameOnCollectionMembers(Node... geometryNodes)
geometryNodes
- A sequence of GML geometry elements.public static String findCRSReference(Element geom)
As a side effect, an implicit CRS reference will be added to the element using the inherited srsName value.
geom
- An Element representing a GML geometry object.Copyright © 2013. All rights reserved.