public class LineStringType extends AbstractGeometryType implements Visitable
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}AbstractGeometryType"> <sequence> <choice> <element ref="{http://www.opengis.net/gml}coord" maxOccurs="unbounded" minOccurs="2"/> <element ref="{http://www.opengis.net/gml}coordinates"/> </choice> </sequence> </extension> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
protected List<CoordType> |
coord |
protected CoordinatesType |
coordinates |
gid, srsName
Constructor and Description |
---|
LineStringType() |
Modifier and Type | Method and Description |
---|---|
void |
accept(Visitor aVisitor) |
List<CoordType> |
getCoord()
Gets the value of the coord property.
|
CoordinatesType |
getCoordinates()
Gets the value of the coordinates property.
|
boolean |
isSetCoord() |
boolean |
isSetCoordinates() |
void |
setCoordinates(CoordinatesType value)
Sets the value of the coordinates property.
|
void |
unsetCoord() |
afterUnmarshal, getGid, getJAXBElementName, getSrsName, isSetGid, isSetSrsName, setGid, setJAXBElementName, setSrsName
protected CoordinatesType coordinates
public List<CoordType> getCoord()
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 coord property.
For example, to add a new item, do as follows:
getCoord().add(newItem);
Objects of the following type(s) are allowed in the list
CoordType
public boolean isSetCoord()
public void unsetCoord()
public CoordinatesType getCoordinates()
CoordinatesType
public void setCoordinates(CoordinatesType value)
value
- allowed object is
CoordinatesType
public boolean isSetCoordinates()
This work is licensed under a Creative Commons Attribution 4.0 International License.