com.sun.syndication.feed.module.georss.geometries
Class Point

java.lang.Object
  extended by com.sun.syndication.feed.module.georss.geometries.AbstractGeometry
      extended by com.sun.syndication.feed.module.georss.geometries.AbstractGeometricPrimitive
          extended by com.sun.syndication.feed.module.georss.geometries.Point
All Implemented Interfaces:
java.lang.Cloneable

public final class Point
extends AbstractGeometricPrimitive

Point object, contains a position

Author:
runaas

Constructor Summary
Point()
          Creates a new instance of Point
Point(Position pos)
           
 
Method Summary
 java.lang.Object clone()
          Make a deep copy of the geometric object
 boolean equals(java.lang.Object obj)
           
 Position getPosition()
          Get the position
 void setPosition(Position pos)
          Set the position
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Point

public Point()
Creates a new instance of Point


Point

public Point(Position pos)
Method Detail

clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Description copied from class: AbstractGeometry
Make a deep copy of the geometric object

Overrides:
clone in class AbstractGeometry
Returns:
A copy of the object
Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class AbstractGeometry

getPosition

public Position getPosition()
Get the position

Returns:
the position

setPosition

public void setPosition(Position pos)
Set the position

Parameters:
pos - the new position