org.deegree_impl.gml
Class GMLLineString_Impl
java.lang.Object
org.deegree_impl.gml.GMLGeometry_Impl
org.deegree_impl.gml.GMLLineString_Impl
- All Implemented Interfaces:
- GMLGeometry, GMLLineString
- public class GMLLineString_Impl
- extends GMLGeometry_Impl
- implements GMLLineString
----------------------------------------------------------
- Version:
- 07.02.2001
- Author:
- Andreas Poth
Constructor Summary |
GMLLineString_Impl(org.w3c.dom.Element element)
Creates a new GMLLineString_Impl object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GMLLineString_Impl
public GMLLineString_Impl(org.w3c.dom.Element element)
- Creates a new GMLLineString_Impl object.
- Parameters:
element
-
createGMLLineString
public static GMLLineString createGMLLineString(org.w3c.dom.Document doc)
- factory method to create a GMLLineString. the linestring
that will be returned doesn't contain any point
getAsElement
public org.w3c.dom.Element getAsElement()
- Overrides:
getAsElement
in class GMLGeometry_Impl
- Returns:
getCoords
public GMLCoord[] getCoords()
- returns the coordinates (location) of the LineString as
as array of GMLCoord
- Specified by:
getCoords
in interface GMLLineString
setCoords
public void setCoords(GMLCoord[] coord)
throws GMLException
- Specified by:
setCoords
in interface GMLLineString
- Throws:
GMLException
- See Also:
already existing coords will be removed
appendCoord
public void appendCoord(GMLCoord coord)
throws GMLException
- Specified by:
appendCoord
in interface GMLLineString
- Throws:
GMLException
- See Also:
GMLLinearRing_Impl.getCoord()
getCoordinates
public GMLCoordinates getCoordinates()
- returns the coordinate (location) of the point as GMLCoordinates
- Specified by:
getCoordinates
in interface GMLLineString
setCoordinates
public void setCoordinates(GMLCoordinates coordinates)
- Specified by:
setCoordinates
in interface GMLLineString
- See Also:
GMLLinearRing_Impl.getCoord()