|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.geotools.gml2.bindings.GML2EncodingUtils
public class GML2EncodingUtils
Utility methods used by gml2 bindigns when encodding.
Constructor Summary | |
---|---|
GML2EncodingUtils()
|
Method Summary | |
---|---|
static org.w3c.dom.Element |
AbstractFeatureType_encode(java.lang.Object object,
org.w3c.dom.Document document,
org.w3c.dom.Element value)
|
static java.util.List |
AbstractFeatureType_getProperties(java.lang.Object object,
org.eclipse.xsd.XSDElementDeclaration element,
SchemaIndex schemaIndex,
java.util.Set<java.lang.String> toFilter,
Configuration configuration)
|
static org.eclipse.xsd.XSDTypeDefinition |
createXmlTypeFromFeatureType(org.opengis.feature.simple.SimpleFeatureType featureType,
SchemaIndex schemaIndex,
java.util.Set<java.lang.String> toFilter)
|
static java.lang.String |
crs(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Deprecated. use toURI(CoordinateReferenceSystem) . |
static java.lang.String |
epsgCode(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
|
static java.util.List |
GeometryPropertyType_getProperties(com.vividsolutions.jts.geom.Geometry geometry)
|
static java.lang.Object |
GeometryPropertyType_getProperty(com.vividsolutions.jts.geom.Geometry geometry,
javax.xml.namespace.QName name)
|
static java.lang.Object |
GeometryPropertyType_getProperty(com.vividsolutions.jts.geom.Geometry geometry,
javax.xml.namespace.QName name,
boolean includeAbstractGeometry)
|
static org.opengis.referencing.crs.CoordinateReferenceSystem |
getCRS(com.vividsolutions.jts.geom.Geometry g)
Determines the crs of the geometry by checking Geometry.getUserData() . |
static java.lang.String |
getDescription(com.vividsolutions.jts.geom.Geometry g)
Determines the name (gml:name) of the geometry by checking Geometry.getUserData() . |
static java.lang.String |
getID(com.vividsolutions.jts.geom.Geometry g)
Determines the identifier (gml:id) of the geometry by checking Geometry.getUserData() . |
static java.lang.String |
getName(com.vividsolutions.jts.geom.Geometry g)
Determines the description (gml:description) of the geometry by checking Geometry.getUserData() . |
static java.lang.String |
toURI(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
Encodes the crs object as a uri. |
static java.lang.String |
toURI(org.opengis.referencing.crs.CoordinateReferenceSystem crs,
boolean forceOldStyle)
Encodes the crs object as a uri. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GML2EncodingUtils()
Method Detail |
---|
public static java.lang.String epsgCode(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
public static java.lang.String crs(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
toURI(CoordinateReferenceSystem)
.
public static java.lang.String toURI(org.opengis.referencing.crs.CoordinateReferenceSystem crs)
public static java.lang.String toURI(org.opengis.referencing.crs.CoordinateReferenceSystem crs, boolean forceOldStyle)
The axis order of the crs determines which form of uri is used.
public static org.opengis.referencing.crs.CoordinateReferenceSystem getCRS(com.vividsolutions.jts.geom.Geometry g)
Geometry.getUserData()
.
This method returns null
when no crs can be found.
public static java.lang.String getID(com.vividsolutions.jts.geom.Geometry g)
Geometry.getUserData()
.
This method returns null
when no id can be found.
public static java.lang.String getName(com.vividsolutions.jts.geom.Geometry g)
Geometry.getUserData()
.
This method returns null
when no name can be found.
public static java.lang.String getDescription(com.vividsolutions.jts.geom.Geometry g)
Geometry.getUserData()
.
This method returns null
when no description can be found.
public static org.w3c.dom.Element AbstractFeatureType_encode(java.lang.Object object, org.w3c.dom.Document document, org.w3c.dom.Element value)
public static java.util.List AbstractFeatureType_getProperties(java.lang.Object object, org.eclipse.xsd.XSDElementDeclaration element, SchemaIndex schemaIndex, java.util.Set<java.lang.String> toFilter, Configuration configuration)
public static org.eclipse.xsd.XSDTypeDefinition createXmlTypeFromFeatureType(org.opengis.feature.simple.SimpleFeatureType featureType, SchemaIndex schemaIndex, java.util.Set<java.lang.String> toFilter)
public static java.lang.Object GeometryPropertyType_getProperty(com.vividsolutions.jts.geom.Geometry geometry, javax.xml.namespace.QName name)
public static java.lang.Object GeometryPropertyType_getProperty(com.vividsolutions.jts.geom.Geometry geometry, javax.xml.namespace.QName name, boolean includeAbstractGeometry)
public static java.util.List GeometryPropertyType_getProperties(com.vividsolutions.jts.geom.Geometry geometry)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |