Class 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
    • Constructor Detail

      • PosList

        public PosList()
    • 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 Jakarta XML Binding object. This is why there is not a set method 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 is BigInteger
      • 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 is String
      • 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 is BigInteger