|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcgl.ogc.wms.gml_Impl.GMLProperty_Impl
Title:
Description:
Copyright: Copyright (c) 2005
Company: Indiana University - Computer Science Dept.
| Field Summary | |
protected org.w3c.dom.Element |
element
|
| Fields inherited from interface cgl.ogc.wms.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. |
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()
|
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 |
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 - Element| Method Detail |
public static GMLProperty createGMLProperty(org.w3c.dom.Document doc,
java.lang.String propName)
doc - DocumentpropName - String
public static GMLProperty createGMLProperty(org.w3c.dom.Document doc,
java.lang.String propertyName,
java.lang.String propertyValue)
doc - DocumentpropertyName - StringpropertyValue - String
public org.w3c.dom.Element getAsElement()
public java.lang.String getName()
getName in interface GMLPropertypublic int getPropertyType()
GMLPropertythis method may be removed in future definitions of this interface because this can be determined by validiating the property name against the describing schema.
getPropertyType in interface GMLPropertypublic java.lang.Object getPropertyValue()
getPropertyValue in interface GMLPropertypublic void setPropertyValue(java.lang.String value)
setPropertyValue in interface GMLPropertyvalue - String#getPropertyValue()
This set-method only supports text propetries. More complex
property types must be inherited from this interface and
define additional set-methods.
public java.lang.String toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||