|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.deegree_impl.gml.GMLProperty_Impl
----------------------------------------------------------
| Field Summary | |
protected org.w3c.dom.Element |
element
|
| Fields inherited from interface org.deegree.gml.GMLProperty |
BOX, FEATURE, FEATURECOLLECTION, GEOMETRY, LINESTRING, MULTIGEOMETRY, MULTILINESTRING, MULTIPOINT, MULTIPOLYGON, POINT, POLYGON, STRING, UNKNOWNTYPE |
| Constructor Summary | |
GMLProperty_Impl(org.w3c.dom.Element element)
Creates a new GMLProperty_Impl object. |
|
| Method Summary | |
static GMLProperty |
createGMLProperty(org.w3c.dom.Document doc,
java.lang.String propName)
factory method to create a GMLProperty. the property that will be return doesn't contain a value. |
static GMLProperty |
createGMLProperty(org.w3c.dom.Document doc,
java.lang.String propertyName,
java.lang.String propertyValue)
factory method to create a GMLProperty. |
org.w3c.dom.Element |
getAsElement()
|
private int |
getGeoType()
performs the mapping of the gml geoType (String) to its int representation for more simple handling. |
java.lang.String |
getName()
returns the name of the property |
int |
getPropertyType()
returns the type of a property. |
java.lang.Object |
getPropertyValue()
returns the value of the property |
private boolean |
isGeometryProperty()
returns true if the submitted element contains just excatly one childelement that have to be a geometry |
void |
setPropertyValue(java.lang.String value)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected org.w3c.dom.Element element
| Constructor Detail |
public GMLProperty_Impl(org.w3c.dom.Element element)
element - | Method Detail |
public static GMLProperty createGMLProperty(org.w3c.dom.Document doc,
java.lang.String propName)
public static GMLProperty createGMLProperty(org.w3c.dom.Document doc,
java.lang.String propertyName,
java.lang.String propertyValue)
public org.w3c.dom.Element getAsElement()
public java.lang.String getName()
getName in interface GMLPropertyprivate boolean isGeometryProperty()
public int getPropertyType()
this method may be removed in future definitions of this interface because this can be determined by validiating the property name against the describing schema.
At the moment only String-type and geometry types are supported. Complex types like feature or feature collections aren't supported yet.
getPropertyType in interface GMLPropertyprivate int getGeoType()
public java.lang.Object getPropertyValue()
getPropertyValue in interface GMLPropertypublic void setPropertyValue(java.lang.String value)
setPropertyValue in interface GMLPropertyorg.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()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||