Package net.opengis.gml._3
Class DirectPositionType
- java.lang.Object
-
- net.opengis.gml._3.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
-
-
Field Summary
Fields Modifier and Type Field Description protected BigIntegersrsDimensionprotected StringsrsNameprotected List<Double>values
-
Constructor Summary
Constructors Constructor Description DirectPositionType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.voidsetSrsDimension(BigInteger value)Sets the value of the srsDimension property.voidsetSrsName(String value)Sets the value of the srsName property.
-
-
-
Field Detail
-
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 Jakarta XML Binding 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
-
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
-
-