|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deegree_impl.gml.GMLProperty_Impl
org.deegree_impl.gml.GMLGeoProperty_Impl
----------------------------------------------------------
Field Summary |
Fields inherited from class org.deegree_impl.gml.GMLProperty_Impl |
element |
Fields inherited from interface org.deegree.gml.GMLProperty |
BOX, FEATURE, FEATURECOLLECTION, GEOMETRY, LINESTRING, MULTIGEOMETRY, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, STRING, UNKNOWNTYPE |
Constructor Summary | |
GMLGeoProperty_Impl(org.w3c.dom.Element element)
Creates a new GMLGeoProperty_Impl object. |
Method Summary | |
static GMLGeoProperty |
createGMLGeoProperty(org.w3c.dom.Document doc,
int geoType)
factory method to create a GMLGeoProperty. the property that will be return doesn't contain a value. |
static GMLGeoProperty |
createGMLGeoProperty(GMLGeometry geom)
factory method to create a GMLGeoProperty. the property that will be return doesn't contain a value. |
static GMLGeoProperty |
createGMLGeoProperty(java.lang.String name,
GMLGeometry geom)
factory method to create a GMLGeoProperty. the property that will be return doesn't contain a value. |
GMLGeometry |
getGeoPropertyValue()
returns the value of the property |
void |
setGeoPropetryValue(GMLGeometry value)
|
void |
setPropertyValue(java.lang.String value)
will be overwritten by this class in a way that an exception will be thrown if the method is called. |
java.lang.String |
toString()
|
private void |
validate(GMLGeometry value)
validate if the submitted geometry is the same type as the geometry tag |
Methods inherited from class org.deegree_impl.gml.GMLProperty_Impl |
createGMLProperty, createGMLProperty, getAsElement, getName, getPropertyType, getPropertyValue |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.deegree.gml.GMLProperty |
getName, getPropertyType, getPropertyValue |
Constructor Detail |
public GMLGeoProperty_Impl(org.w3c.dom.Element element)
element
- Method Detail |
public static GMLGeoProperty createGMLGeoProperty(org.w3c.dom.Document doc, int geoType) throws GMLException
GMLException
public static GMLGeoProperty createGMLGeoProperty(java.lang.String name, GMLGeometry geom) throws GMLException
GMLException
public static GMLGeoProperty createGMLGeoProperty(GMLGeometry geom) throws GMLException
GMLException
public GMLGeometry getGeoPropertyValue()
getGeoPropertyValue
in interface GMLGeoProperty
public void setGeoPropetryValue(GMLGeometry value) throws GMLException
setGeoPropetryValue
in interface GMLGeoProperty
GMLException
GMLProperty_Impl.getPropertyValue()
private void validate(GMLGeometry value) throws GMLException
GMLException
public void setPropertyValue(java.lang.String value)
setPropertyValue
in interface GMLProperty
setPropertyValue
in class GMLProperty_Impl
org.deegree_impl.gml.GMLProperty_Impl#getPropertyValue()
This set-method only supports text propetries. More complex
property types must be inherited from this interface and
define additional set-methods.
Notice: if the old value has been removed this may change
the properties type. At a future release a validation against
the schema of the document has to be performed.
public java.lang.String toString()
toString
in class GMLProperty_Impl
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |