citysdk.tourism.client.parser.data
Class PolygonContent

java.lang.Object
  extended by citysdk.tourism.client.parser.data.PolygonContent
All Implemented Interfaces:
GeometryContent

public class PolygonContent
extends java.lang.Object
implements GeometryContent

Container of a polygon. A polygon is no more than a list of LocationContent.

Author:
Pedro Cruz

Constructor Summary
PolygonContent()
           
 
Method Summary
 void addLocation(LocationContent content)
           
 int getNumGeo()
           
 java.util.List<LocationContent> getValues()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolygonContent

public PolygonContent()
Method Detail

getValues

public java.util.List<LocationContent> getValues()

addLocation

public void addLocation(LocationContent content)

getNumGeo

public int getNumGeo()
Specified by:
getNumGeo in interface GeometryContent