net.opengis.gml
Class PointType

java.lang.Object
  extended by net.opengis.gml.AbstractGMLType
      extended by net.opengis.gml.AbstractGeometryType
          extended by net.opengis.gml.AbstractGeometricPrimitiveType
              extended by net.opengis.gml.PointType

public class PointType
extends AbstractGeometricPrimitiveType

A Point is defined by a single coordinate tuple.

Java class for PointType complex type.

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

 <complexType name="PointType">
   <complexContent>
     <extension base="{http://www.opengis.net/gml}AbstractGeometricPrimitiveType">
       <sequence>
         <choice>
           <element ref="{http://www.opengis.net/gml}pos"/>
           <element ref="{http://www.opengis.net/gml}coordinates"/>
           <element ref="{http://www.opengis.net/gml}coord"/>
         </choice>
       </sequence>
     </extension>
   </complexContent>
 </complexType>
 


Field Summary
protected  CoordType coord
           
protected  CoordinatesType coordinates
           
protected  DirectPositionType pos
           
 
Fields inherited from class net.opengis.gml.AbstractGeometryType
axisLabels, gid, srsDimension, srsName, uomLabels
 
Fields inherited from class net.opengis.gml.AbstractGMLType
description, id, metaDataProperty, name
 
Constructor Summary
PointType()
           
 
Method Summary
 CoordType getCoord()
          Deprecated with GML version 3.0.
 CoordinatesType getCoordinates()
          Deprecated with GML version 3.1.0 for coordinates with ordinate values that are numbers.
 DirectPositionType getPos()
          Gets the value of the pos property.
 void setCoord(CoordType value)
          Sets the value of the coord property.
 void setCoordinates(CoordinatesType value)
          Sets the value of the coordinates property.
 void setPos(DirectPositionType value)
          Sets the value of the pos property.
 
Methods inherited from class net.opengis.gml.AbstractGeometryType
getAxisLabels, getGid, getSrsDimension, getSrsName, getUomLabels, setGid, setSrsDimension, setSrsName
 
Methods inherited from class net.opengis.gml.AbstractGMLType
getDescription, getId, getMetaDataProperty, getName, setDescription, setId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pos

protected DirectPositionType pos

coordinates

protected CoordinatesType coordinates

coord

protected CoordType coord
Constructor Detail

PointType

public PointType()
Method Detail

getPos

public DirectPositionType getPos()
Gets the value of the pos property.

Returns:
possible object is DirectPositionType

setPos

public void setPos(DirectPositionType value)
Sets the value of the pos property.

Parameters:
value - allowed object is DirectPositionType

getCoordinates

public CoordinatesType getCoordinates()
Deprecated with GML version 3.1.0 for coordinates with ordinate values that are numbers. Use "pos" instead. The "coordinates" element shall only be used for coordinates with ordinates that require a string representation, e.g. DMS representations.

Returns:
possible object is CoordinatesType

setCoordinates

public void setCoordinates(CoordinatesType value)
Sets the value of the coordinates property.

Parameters:
value - allowed object is CoordinatesType

getCoord

public CoordType getCoord()
Deprecated with GML version 3.0. Use "pos" instead. The "coord" element is included for backwards compatibility with GML 2.

Returns:
possible object is CoordType

setCoord

public void setCoord(CoordType value)
Sets the value of the coord property.

Parameters:
value - allowed object is CoordType


Copyright © 2008. All Rights Reserved.