|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectGML2EncodingUtils
public class GML2EncodingUtils
Utility methods used by gml2 bindigns when encodding.
Constructor Summary | |
---|---|
GML2EncodingUtils()
|
Method Summary | |
---|---|
static Element |
AbstractFeatureType_encode(Object object,
Document document,
Element value)
|
static Object |
AbstractFeatureType_getProperty(Object object,
QName name,
Configuration configuration)
|
static String |
crs(CoordinateReferenceSystem crs)
Deprecated. use toURI(CoordinateReferenceSystem) . |
static String |
epsgCode(CoordinateReferenceSystem crs)
|
static CoordinateReferenceSystem |
getCRS(Geometry g)
Determines the crs of the geometry by checking Geometry.getUserData() . |
static String |
getDescription(Geometry g)
Determines the name (gml:name) of the geometry by checking Geometry.getUserData() . |
static String |
getID(Geometry g)
Determines the identifier (gml:id) of the geometry by checking Geometry.getUserData() . |
static String |
getName(Geometry g)
Determines the description (gml:description) of the geometry by checking Geometry.getUserData() . |
static String |
toURI(CoordinateReferenceSystem crs)
Encodes the crs object as a uri. |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GML2EncodingUtils()
Method Detail |
---|
public static String epsgCode(CoordinateReferenceSystem crs)
public static String crs(CoordinateReferenceSystem crs)
toURI(CoordinateReferenceSystem)
.
public static String toURI(CoordinateReferenceSystem crs)
The axis order of the crs determines which form of uri is used.
public static CoordinateReferenceSystem getCRS(Geometry g)
Geometry.getUserData()
.
This method returns null
when no crs can be found.
public static String getID(Geometry g)
Geometry.getUserData()
.
This method returns null
when no id can be found.
public static String getName(Geometry g)
Geometry.getUserData()
.
This method returns null
when no name can be found.
public static String getDescription(Geometry g)
Geometry.getUserData()
.
This method returns null
when no description can be found.
public static Element AbstractFeatureType_encode(Object object, Document document, Element value)
public static Object AbstractFeatureType_getProperty(Object object, QName name, Configuration configuration)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |