public class Pos extends Object implements XmlNamespaceConstants
<complexType name="DirectPositionType"> <annotation> <documentation>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.</documentation> </annotation> <simpleContent> <extension base="gml:doubleList"> <attributeGroup ref="gml:SRSReferenceGroup" /> </extension> </simpleContent> </complexType> <element name="pos" type="gml:DirectPositionType" />
OGC_GML_NAMESPACE_PREFIX, OGC_GML_NAMESPACE_URI, OPENLS_NAMESPACE_PREFIX, OPENLS_NAMESPACE_SCHEMALOCATION, OPENLS_NAMESPACE_URI
Constructor and Description |
---|
Pos()
Instantiates a new pos.
|
Modifier and Type | Method and Description |
---|---|
int |
getDimension()
Gets the dimension.
|
Double |
getX()
Gets the x.
|
String |
getXY()
Gets the xy.
|
Double |
getY()
Gets the y.
|
boolean |
hasDimension()
Checks for dimension.
|
boolean |
hasXY()
Checks for xy.
|
void |
setDimension(int dimension)
Sets the dimension.
|
void |
setX(Double x)
Sets the x.
|
void |
setXY(String xy)
Sets the xy.
|
void |
setY(Double y)
Sets the y.
|
String |
toXML()
geeft een XML string representatie van dit object.
|
public void setXY(String xy)
xy
- the new xypublic void setX(Double x)
x
- the new xpublic Double getX()
public void setY(Double y)
y
- the new ypublic Double getY()
public String getXY()
public boolean hasXY()
public void setDimension(int dimension)
dimension
- the new dimensionpublic int getDimension()
public boolean hasDimension()
public String toXML()
XmlNamespaceConstants
toXML
in interface XmlNamespaceConstants
Copyright © 2012–2014 Ministerie EZ. All rights reserved.