Package nl.b3p.csw.jaxb.gml
Class LineStringType
-
public class LineStringType extends AbstractCurveType
A LineString is a special curve that consists of a single segment with linear interpolation. It is defined by two or more coordinate tuples, with linear interpolation between them. It is backwards compatible with the LineString of GML 2, GM_LineString of ISO 19107 is implemented by LineStringSegment.Java class for LineStringType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="LineStringType"> <complexContent> <extension base="{http://www.opengis.net/gml}AbstractCurveType"> <sequence> <choice> <choice maxOccurs="unbounded" minOccurs="2"> <element ref="{http://www.opengis.net/gml}pos"/> <element ref="{http://www.opengis.net/gml}pointProperty"/> <element ref="{http://www.opengis.net/gml}pointRep"/> <element ref="{http://www.opengis.net/gml}coord"/> </choice> <element ref="{http://www.opengis.net/gml}posList"/> <element ref="{http://www.opengis.net/gml}coordinates"/> </choice> </sequence> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected Coordinatescoordinatesprotected PosListposListprotected List<javax.xml.bind.JAXBElement<?>>posOrPointPropertyOrPointRep-
Fields inherited from class nl.b3p.csw.jaxb.gml.AbstractGeometryType
axisLabels, gid, srsDimension, srsName, uomLabels
-
Fields inherited from class nl.b3p.csw.jaxb.gml.AbstractGMLType
description, id, metaDataProperty, name
-
-
Constructor Summary
Constructors Constructor Description LineStringType()Default no-arg constructorLineStringType(List<MetaDataProperty> metaDataProperty, Description description, List<Name> name, String id, String gid, String srsName, BigInteger srsDimension, List<String> axisLabels, List<String> uomLabels, List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep, PosList posList, Coordinates coordinates)Fully-initialising value constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CoordinatesgetCoordinates()Deprecated with GML version 3.1.0.PosListgetPosList()Gets the value of the posList property.List<javax.xml.bind.JAXBElement<?>>getPosOrPointPropertyOrPointRep()Gets the value of the posOrPointPropertyOrPointRep property.voidsetCoordinates(Coordinates value)Sets the value of the coordinates property.voidsetPosList(PosList value)Sets the value of the posList property.-
Methods inherited from class nl.b3p.csw.jaxb.gml.AbstractGeometryType
getAxisLabels, getGid, getSrsDimension, getSrsName, getUomLabels, setGid, setSrsDimension, setSrsName
-
Methods inherited from class nl.b3p.csw.jaxb.gml.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, setDescription, setId
-
-
-
-
Field Detail
-
posOrPointPropertyOrPointRep
protected List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep
-
posList
protected PosList posList
-
coordinates
protected Coordinates coordinates
-
-
Constructor Detail
-
LineStringType
public LineStringType()
Default no-arg constructor
-
LineStringType
public LineStringType(List<MetaDataProperty> metaDataProperty, Description description, List<Name> name, String id, String gid, String srsName, BigInteger srsDimension, List<String> axisLabels, List<String> uomLabels, List<javax.xml.bind.JAXBElement<?>> posOrPointPropertyOrPointRep, PosList posList, Coordinates coordinates)
Fully-initialising value constructor
-
-
Method Detail
-
getPosOrPointPropertyOrPointRep
public List<javax.xml.bind.JAXBElement<?>> getPosOrPointPropertyOrPointRep()
Gets the value of the posOrPointPropertyOrPointRep property.This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a
setmethod for the posOrPointPropertyOrPointRep property.For example, to add a new item, do as follows:
getPosOrPointPropertyOrPointRep().add(newItem);Objects of the following type(s) are allowed in the list
PointRepCoordPosPointProperty
-
getPosList
public PosList getPosList()
Gets the value of the posList property.- Returns:
- possible object is
PosList
-
setPosList
public void setPosList(PosList value)
Sets the value of the posList property.- Parameters:
value- allowed object isPosList
-
getCoordinates
public Coordinates getCoordinates()
Deprecated with GML version 3.1.0. Use "posList" instead.- Returns:
- possible object is
Coordinates
-
setCoordinates
public void setCoordinates(Coordinates value)
Sets the value of the coordinates property.- Parameters:
value- allowed object isCoordinates
-
-