public class LineStringType extends AbstractCurveType
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>
| Modifier and Type | Field and Description |
|---|---|
protected Coordinates |
coordinates |
protected PosList |
posList |
protected List<JAXBElement<?>> |
posOrPointPropertyOrPointRep |
axisLabels, gid, srsDimension, srsName, uomLabelsdescription, id, metaDataProperty, name| Constructor and Description |
|---|
LineStringType()
Default no-arg constructor
|
LineStringType(List<MetaDataProperty> metaDataProperty,
Description description,
List<Name> name,
String id,
String gid,
String srsName,
BigInteger srsDimension,
List<String> axisLabels,
List<String> uomLabels,
List<JAXBElement<?>> posOrPointPropertyOrPointRep,
PosList posList,
Coordinates coordinates)
Fully-initialising value constructor
|
| Modifier and Type | Method and Description |
|---|---|
Coordinates |
getCoordinates()
Deprecated with GML version 3.1.0.
|
PosList |
getPosList()
Gets the value of the posList property.
|
List<JAXBElement<?>> |
getPosOrPointPropertyOrPointRep()
Gets the value of the posOrPointPropertyOrPointRep property.
|
void |
setCoordinates(Coordinates value)
Sets the value of the coordinates property.
|
void |
setPosList(PosList value)
Sets the value of the posList property.
|
getAxisLabels, getGid, getSrsDimension, getSrsName, getUomLabels, setGid, setSrsDimension, setSrsNamegetDescription, getId, getMetaDataProperty, getName, setDescription, setIdprotected List<JAXBElement<?>> posOrPointPropertyOrPointRep
protected PosList posList
protected Coordinates coordinates
public 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<JAXBElement<?>> posOrPointPropertyOrPointRep, PosList posList, Coordinates coordinates)
public List<JAXBElement<?>> getPosOrPointPropertyOrPointRep()
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 set method 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
PointRep
Coord
Pos
PointProperty
public PosList getPosList()
PosListpublic void setPosList(PosList value)
value - allowed object is
PosListpublic Coordinates getCoordinates()
Coordinatespublic void setCoordinates(Coordinates value)
value - allowed object is
CoordinatesCopyright © 2015. All rights reserved.