Package org.geotools.gml2.bindings
Class GMLEncodingUtils
Object
GMLEncodingUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAbstractFeatureType_getProperties(Object object, XSDElementDeclaration element, SchemaIndex schemaIndex, Set<String> toFilter, Configuration configuration) XSDTypeDefinitioncreateXmlTypeFromFeatureType(SimpleFeatureType featureType, SchemaIndex schemaIndex, Set<String> toFilter) GeometryPropertyType_getProperties(Geometry geometry) GeometryPropertyType_getProperty(Geometry geometry, QName name) GeometryPropertyType_getProperty(Geometry geometry, QName name, boolean includeAbstractGeometry) GeometryPropertyType_getProperty(Geometry geometry, QName name, boolean includeAbstractGeometry, boolean makeEmpty) Determines the name (gml:name) of the geometry by checkingGeometry.getUserData().Determines the identifier (gml:id) of the geometry by checkingGeometry.getUserData().Determines the description (gml:description) of the geometry by checkingGeometry.getUserData().static booleanstatic booleanisJoinedFeature(Object obj) Checks if a feature is a joined onevoidsetDescription(Geometry g, String description) Set the description (gml:description) of the geometry as a key in the user data mapGeometry.getUserData()(creating it withGeometry.getUserData()if it does not already exist).voidSet the identifier (gml:id) of the geometry as a key in the user data mapGeometry.getUserData()(creating it withGeometry.getUserData()if it does not already exist).voidSet the name (gml:name) of the geometry as a key in the user data mapGeometry.getUserData()(creating it withGeometry.getUserData()if it does not already exist).static SimpleFeature[]splitJoinedFeature(Object obj) Splits a joined feature into its components
-
Constructor Details
-
GMLEncodingUtils
-
-
Method Details
-
AbstractFeatureType_getProperties
public List<Object[]> AbstractFeatureType_getProperties(Object object, XSDElementDeclaration element, SchemaIndex schemaIndex, Set<String> toFilter, Configuration configuration) -
createXmlTypeFromFeatureType
public XSDTypeDefinition createXmlTypeFromFeatureType(SimpleFeatureType featureType, SchemaIndex schemaIndex, Set<String> toFilter) -
GeometryPropertyType_getProperty
-
GeometryPropertyType_getProperty
-
GeometryPropertyType_getProperty
-
GeometryPropertyType_getProperties
-
isEmpty
-
getID
Determines the identifier (gml:id) of the geometry by checkingGeometry.getUserData().This method returns
nullwhen no id can be found. -
setID
Set the identifier (gml:id) of the geometry as a key in the user data mapGeometry.getUserData()(creating it withGeometry.getUserData()if it does not already exist). If the user data exists and is not aMap, this method has no effect.- Parameters:
g- the geometryid- the gml:id to be set
-
getName
Determines the description (gml:description) of the geometry by checkingGeometry.getUserData().This method returns
nullwhen no name can be found. -
setName
Set the name (gml:name) of the geometry as a key in the user data mapGeometry.getUserData()(creating it withGeometry.getUserData()if it does not already exist). If the user data exists and is not aMap, this method has no effect.- Parameters:
g- the geometryname- the gml:name to be set
-
getDescription
Determines the name (gml:name) of the geometry by checkingGeometry.getUserData().This method returns
nullwhen no description can be found. -
setDescription
Set the description (gml:description) of the geometry as a key in the user data mapGeometry.getUserData()(creating it withGeometry.getUserData()if it does not already exist). If the user data exists and is not aMap, this method has no effect.- Parameters:
g- the geometrydescription- the gml:description to be set
-
isJoinedFeature
Checks if a feature is a joined one -
splitJoinedFeature
Splits a joined feature into its components
-