Class DirectPositionType

  • All Implemented Interfaces:
    Serializable
    Direct Known Subclasses:
    Vector

    public class DirectPositionType
    extends Object
    implements Serializable
    Direct position instances hold the coordinates for a position within some coordinate reference system (CRS). Since direct positions, as data types, will often be included in larger objects (such as geometry elements) that have references to CRS, the srsName attribute will in general be missing, if this particular direct position is included in a larger element with such a reference to a CRS. In this case, the CRS is implicitly assumed to take on the value of the containing object's 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.

    Java class for DirectPositionType complex type.

    The following schema fragment specifies the expected content contained within this class.

     <complexType name="DirectPositionType">
       <simpleContent>
         <extension base="<http://www.opengis.net/gml/3.2>doubleList">
           <attGroup ref="{http://www.opengis.net/gml/3.2}SRSReferenceGroup"/>
         </extension>
       </simpleContent>
     </complexType>
     
    See Also:
    Serialized Form
    • Constructor Detail

      • DirectPositionType

        public DirectPositionType()
    • 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

      • 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