cgl.ogc.wms.gml_Impl
Class GMLGeoProperty_Impl

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

public class GMLGeoProperty_Impl
extends GMLProperty_Impl
implements GMLGeoProperty

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
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.
static GMLGeoProperty createGMLGeoProperty(GMLGeometry geom)
          factory method to create a GMLGeoProperty.
static GMLGeoProperty createGMLGeoProperty(java.lang.String name, GMLGeometry geom)
          factory method to create a GMLGeoProperty.
 GMLGeometry getGeoPropertyValue()
          returns the value of the property
 void setGeoPropetryValue(GMLGeometry value)
           
 void setPropertyValue(java.lang.String value)
           
 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

GMLGeoProperty_Impl

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

Parameters:
element - Element
Method Detail

createGMLGeoProperty

public static GMLGeoProperty createGMLGeoProperty(org.w3c.dom.Document doc,
                                                  int geoType)
                                           throws GMLException
factory method to create a GMLGeoProperty. the property that will be return doesn't contain a value.

Parameters:
doc - Document
geoType - int
Returns:
GMLGeoProperty
Throws:
GMLException

createGMLGeoProperty

public static GMLGeoProperty createGMLGeoProperty(java.lang.String name,
                                                  GMLGeometry geom)
                                           throws GMLException
factory method to create a GMLGeoProperty. the property that will be return doesn't contain a value.

Parameters:
name - String
geom - GMLGeometry
Returns:
GMLGeoProperty
Throws:
GMLException

createGMLGeoProperty

public static GMLGeoProperty createGMLGeoProperty(GMLGeometry geom)
                                           throws GMLException
factory method to create a GMLGeoProperty. the property that will be return doesn't contain a value.

Parameters:
geom - GMLGeometry
Returns:
GMLGeoProperty
Throws:
GMLException

getGeoPropertyValue

public GMLGeometry getGeoPropertyValue()
returns the value of the property

Specified by:
getGeoPropertyValue in interface GMLGeoProperty
Returns:
GMLGeometry

setGeoPropetryValue

public void setGeoPropetryValue(GMLGeometry value)
                         throws GMLException
Specified by:
setGeoPropetryValue in interface GMLGeoProperty
Parameters:
value - GMLGeometry
Throws:
GMLException
See Also:
org.deegree_impl.gml.GMLGeoProperty_Impl#getPropertyValue()

setPropertyValue

public void setPropertyValue(java.lang.String value)
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