|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectGMLEncodingUtils
public class GMLEncodingUtils
Constructor Summary | |
---|---|
GMLEncodingUtils(XSD gml)
|
Method Summary | |
---|---|
List |
AbstractFeatureType_getProperties(Object object,
XSDElementDeclaration element,
SchemaIndex schemaIndex,
Set<String> toFilter,
Configuration configuration)
|
XSDTypeDefinition |
createXmlTypeFromFeatureType(SimpleFeatureType featureType,
SchemaIndex schemaIndex,
Set<String> toFilter)
|
List |
GeometryPropertyType_getProperties(Geometry geometry)
|
Object |
GeometryPropertyType_getProperty(Geometry geometry,
QName name)
|
Object |
GeometryPropertyType_getProperty(Geometry geometry,
QName name,
boolean includeAbstractGeometry)
|
Object |
GeometryPropertyType_getProperty(Geometry geometry,
QName name,
boolean includeAbstractGeometry,
boolean makeEmpty)
|
String |
getDescription(Geometry g)
Determines the name (gml:name) of the geometry by checking Geometry.getUserData() . |
String |
getID(Geometry g)
Determines the identifier (gml:id) of the geometry by checking Geometry.getUserData() . |
String |
getName(Geometry g)
Determines the description (gml:description) of the geometry by checking Geometry.getUserData() . |
static boolean |
isEmpty(Geometry geometry)
|
void |
setDescription(Geometry g,
String description)
Set the description (gml:description) of the geometry as a key in the user data map Geometry.getUserData() (creating it withGeometry.getUserData()
if it does not already exist). |
void |
setID(Geometry g,
String id)
Set the identifier (gml:id) of the geometry as a key in the user data map Geometry.getUserData() (creating it withGeometry.getUserData()
if it does not already exist). |
void |
setName(Geometry g,
String name)
Set the name (gml:name) of the geometry as a key in the user data map Geometry.getUserData() (creating it withGeometry.getUserData()
if it does not already exist). |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GMLEncodingUtils(XSD gml)
Method Detail |
---|
public List AbstractFeatureType_getProperties(Object object, XSDElementDeclaration element, SchemaIndex schemaIndex, Set<String> toFilter, Configuration configuration)
public XSDTypeDefinition createXmlTypeFromFeatureType(SimpleFeatureType featureType, SchemaIndex schemaIndex, Set<String> toFilter)
public Object GeometryPropertyType_getProperty(Geometry geometry, QName name)
public Object GeometryPropertyType_getProperty(Geometry geometry, QName name, boolean includeAbstractGeometry)
public Object GeometryPropertyType_getProperty(Geometry geometry, QName name, boolean includeAbstractGeometry, boolean makeEmpty)
public List GeometryPropertyType_getProperties(Geometry geometry)
public static boolean isEmpty(Geometry geometry)
public String getID(Geometry g)
Geometry.getUserData()
.
This method returns null
when no id can be found.
public void setID(Geometry g, String id)
Geometry.getUserData()
(creating it withGeometry.getUserData()
if it does not already exist). If the user data exists and is not a
Map
, this method has no effect.
g
- the geometryid
- the gml:id to be setpublic String getName(Geometry g)
Geometry.getUserData()
.
This method returns null
when no name can be found.
public void setName(Geometry g, String name)
Geometry.getUserData()
(creating it withGeometry.getUserData()
if it does not already exist). If the user data exists and is not a
Map
, this method has no effect.
g
- the geometryname
- the gml:name to be setpublic String getDescription(Geometry g)
Geometry.getUserData()
.
This method returns null
when no description can be found.
public void setDescription(Geometry g, String description)
Geometry.getUserData()
(creating it withGeometry.getUserData()
if it does not already exist). If the user data exists and is not a
Map
, this method has no effect.
g
- the geometrydescription
- the gml:description to be set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |