cgl.ogc.wms.gml_Impl
Class GMLMultiLineString_Impl

java.lang.Object
  extended bycgl.ogc.wms.gml_Impl.GMLGeometry_Impl
      extended bycgl.ogc.wms.gml_Impl.GMLGeometryCollection_Impl
          extended bycgl.ogc.wms.gml_Impl.GMLMultiLineString_Impl
All Implemented Interfaces:
GMLGeometry, GMLGeometryCollection, GMLMultiLineString

public class GMLMultiLineString_Impl
extends GMLGeometryCollection_Impl
implements GMLMultiLineString

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.GMLGeometry_Impl
element
 
Constructor Summary
GMLMultiLineString_Impl(org.w3c.dom.Element element)
          Creates a new GMLMultiLineString_Impl object.
 
Method Summary
 void addGeometry(GMLGeometry geometry)
           
 void addLineString(GMLLineString lineString)
           
static GMLMultiLineString createGMLMultiLineString(org.w3c.dom.Document doc)
          factory method to create a GMLMultiLineString.
 GMLGeometry[] getGeometries()
          returns the geometries contained within the collection
 GMLLineString[] getLineStrings()
          returns all linestrings contained within the collection
 
Methods inherited from class cgl.ogc.wms.gml_Impl.GMLGeometry_Impl
getAsElement, getId, getName, getSrs, setId, setSrs, toString
 
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.GMLGeometryCollection
addGeometry, getGeometries
 
Methods inherited from interface cgl.ogc.wms.gml.GMLGeometry
getId, getName, getSrs, setId, setSrs
 

Constructor Detail

GMLMultiLineString_Impl

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

Parameters:
element - Element
Method Detail

createGMLMultiLineString

public static GMLMultiLineString createGMLMultiLineString(org.w3c.dom.Document doc)
factory method to create a GMLMultiLineString. the collection that will be empty

Parameters:
doc - Document
Returns:
GMLMultiLineString

getLineStrings

public GMLLineString[] getLineStrings()
returns all linestrings contained within the collection

Specified by:
getLineStrings in interface GMLMultiLineString
Returns:
GMLLineString[]

addLineString

public void addLineString(GMLLineString lineString)
Specified by:
addLineString in interface GMLMultiLineString
Parameters:
lineString - GMLLineString
See Also:
org.deegree_impl.gml.GMLMultiLineString_Impl#getLineStrings()

getGeometries

public GMLGeometry[] getGeometries()
returns the geometries contained within the collection

Specified by:
getGeometries in interface GMLGeometryCollection
Returns:
GMLGeometry[]

addGeometry

public void addGeometry(GMLGeometry geometry)
Specified by:
addGeometry in interface GMLGeometryCollection
Parameters:
geometry - GMLGeometry
See Also:
org.deegree_impl.gml.GMLGeometryCollection_Impl#getGeometries()