cgl.ogc.wms.gml_Impl
Class GMLFeatureProperty_Impl

java.lang.Object
  extended bycgl.ogc.wms.gml_Impl.GMLProperty_Impl
      extended bycgl.ogc.wms.gml_Impl.GMLFeatureProperty_Impl
All Implemented Interfaces:
GMLFeatureProperty, GMLProperty

public class GMLFeatureProperty_Impl
extends GMLProperty_Impl
implements GMLFeatureProperty

Title:

Description:

Copyright: Copyright (c) 2005

Company: Indiana University - Computer Science Dept.

Version:
1.0
Author:
Ahmet Sayar

Field Summary
 
Fields inherited from class cgl.ogc.wms.gml_Impl.GMLProperty_Impl
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
GMLFeatureProperty_Impl(org.w3c.dom.Element element)
          Creates a new GMLFeatureProperty_Impl object.
 
Method Summary
static GMLFeatureProperty createGMLFeatureProperty(org.w3c.dom.Document doc, java.lang.String propName)
          factory method to create a GMLFeatureProperty.
static GMLFeatureProperty createGMLFeatureProperty(org.w3c.dom.Document doc, java.lang.String propName, GMLFeature feature)
          factory method to create a GMLFeatureProperty.
 GMLFeature getFeaturePropertyValue()
          returns the value of the property
 void setFeaturePropetryValue(GMLFeature 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()
           
 
Methods inherited from class cgl.ogc.wms.gml_Impl.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 cgl.ogc.wms.gml.GMLProperty
getName, getPropertyType, getPropertyValue
 

Constructor Detail

GMLFeatureProperty_Impl

public GMLFeatureProperty_Impl(org.w3c.dom.Element element)
Creates a new GMLFeatureProperty_Impl object.

Parameters:
element - Element
Method Detail

createGMLFeatureProperty

public static GMLFeatureProperty createGMLFeatureProperty(org.w3c.dom.Document doc,
                                                          java.lang.String propName)
                                                   throws GMLException
factory method to create a GMLFeatureProperty. the property that will be return doesn't contain a value.

Parameters:
doc - Document
propName - String
Returns:
GMLFeatureProperty
Throws:
GMLException

createGMLFeatureProperty

public static GMLFeatureProperty createGMLFeatureProperty(org.w3c.dom.Document doc,
                                                          java.lang.String propName,
                                                          GMLFeature feature)
                                                   throws GMLException
factory method to create a GMLFeatureProperty. the property that will be return doesn't contain a value.

Parameters:
doc - Document
propName - String
feature - GMLFeature
Returns:
GMLFeatureProperty
Throws:
GMLException

getFeaturePropertyValue

public GMLFeature getFeaturePropertyValue()
returns the value of the property

Specified by:
getFeaturePropertyValue in interface GMLFeatureProperty
Returns:
GMLFeature

setFeaturePropetryValue

public void setFeaturePropetryValue(GMLFeature value)
                             throws GMLException
Specified by:
setFeaturePropetryValue in interface GMLFeatureProperty
Parameters:
value - GMLFeature
Throws:
GMLException
See Also:
org.deegree_impl.gml.GMLFeatureProperty_Impl#getFeaturePropertyValue()

setPropertyValue

public 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. Because it doesn't make any sense to set the value of a geo property as a String.

Specified by:
setPropertyValue in interface GMLProperty
Overrides:
setPropertyValue in class GMLProperty_Impl
Parameters:
value - String

toString

public java.lang.String toString()
Overrides:
toString in class GMLProperty_Impl
Returns:
String