public class TrksegType
extends java.lang.Object
Java class for trksegType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="trksegType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="trkpt" type="{http://www.topografix.com/GPX/1/1}wptType" maxOccurs="unbounded" minOccurs="0"/>
<element name="extensions" type="{http://www.topografix.com/GPX/1/1}extensionsType" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Modifier and Type | Field and Description |
|---|---|
protected ExtensionsType |
extensions |
protected java.util.List<WptType> |
trkpt |
| Constructor and Description |
|---|
TrksegType() |
| Modifier and Type | Method and Description |
|---|---|
ExtensionsType |
getExtensions()
Gets the value of the extensions property.
|
java.util.List<WptType> |
getTrkpt()
Gets the value of the trkpt property.
|
void |
setExtensions(ExtensionsType value)
Sets the value of the extensions property.
|
protected java.util.List<WptType> trkpt
protected ExtensionsType extensions
public java.util.List<WptType> getTrkpt()
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 trkpt property.
For example, to add a new item, do as follows:
getTrkpt().add(newItem);
Objects of the following type(s) are allowed in the list
WptType
public ExtensionsType getExtensions()
ExtensionsTypepublic void setExtensions(ExtensionsType value)
value - allowed object is
ExtensionsType