Package net.opengis.gml._3
Class PosList
- java.lang.Object
-
- net.opengis.gml._3.PosList
-
- All Implemented Interfaces:
Serializable
public class PosList extends Object implements Serializable
posList instances (and other instances with the content model specified by DirectPositionListType) hold the coordinates for a sequence of direct positions within the same coordinate reference system (CRS). if no srsName attribute is given, the CRS shall be specified as part of the larger context this geometry element is part of, typically a geometric object like a point, curve, etc. The optional attribute count specifies the number of direct positions in the list. If the attribute count is present then the attribute srsDimension shall be present, too. The number of entries in the list is equal to the product of the dimensionality of the coordinate reference system (i.e. it is a derived value of the coordinate reference system definition) and the number of direct positions.Java class for DirectPositionListType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DirectPositionListType"> <simpleContent> <extension base="<http://www.opengis.net/gml/3.2>doubleList"> <attGroup ref="{http://www.opengis.net/gml/3.2}SRSReferenceGroup"/> <attribute name="count" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" /> </extension> </simpleContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegercountprotected BigIntegersrsDimensionprotected StringsrsNameprotected List<Double>values
-
Constructor Summary
Constructors Constructor Description PosList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigIntegergetCount()Gets the value of the count property.BigIntegergetSrsDimension()Gets the value of the srsDimension property.StringgetSrsName()Gets the value of the srsName property.List<Double>getValues()A type for a list of values of the respective simple type.Gets the value of the values property.voidsetCount(BigInteger value)Sets the value of the count property.voidsetSrsDimension(BigInteger value)Sets the value of the srsDimension property.voidsetSrsName(String value)Sets the value of the srsName property.
-
-
-
Field Detail
-
count
protected BigInteger count
-
srsName
protected String srsName
-
srsDimension
protected BigInteger srsDimension
-
-
Method Detail
-
getValues
public List<Double> getValues()
A type for a list of values of the respective simple type.Gets the value of the values 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 values property.For example, to add a new item, do as follows:
getValues().add(newItem);Objects of the following type(s) are allowed in the list
Double
-
getCount
public BigInteger getCount()
Gets the value of the count property.- Returns:
- possible object is
BigInteger
-
setCount
public void setCount(BigInteger value)
Sets the value of the count property.- Parameters:
value- allowed object isBigInteger
-
getSrsName
public String getSrsName()
Gets the value of the srsName property.- Returns:
- possible object is
String
-
setSrsName
public void setSrsName(String value)
Sets the value of the srsName property.- Parameters:
value- allowed object isString
-
getSrsDimension
public BigInteger getSrsDimension()
Gets the value of the srsDimension property.- Returns:
- possible object is
BigInteger
-
setSrsDimension
public void setSrsDimension(BigInteger value)
Sets the value of the srsDimension property.- Parameters:
value- allowed object isBigInteger
-
-