citysdk.tourism.client.parser.data
Class LineContent

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

public class LineContent
extends java.lang.Object
implements GeometryContent

Container of a line. A line is no more than two LocationContent.

Author:
Pedro Cruz

Constructor Summary
LineContent(LocationContent pointOne, LocationContent pointTwo)
          Constructor
 
Method Summary
 int getNumGeo()
           
 LocationContent getPointOne()
           
 LocationContent getPointTwo()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LineContent

public LineContent(LocationContent pointOne,
                   LocationContent pointTwo)
Constructor

Parameters:
pointOne - point one of the line
pointTwo - point two of the line
Method Detail

getPointOne

public LocationContent getPointOne()

getPointTwo

public LocationContent getPointTwo()

getNumGeo

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