org.onebusaway.transit_data_federation.impl.shapes
Class ShapePointServiceImpl

java.lang.Object
  extended by org.onebusaway.transit_data_federation.impl.shapes.ShapePointServiceImpl
All Implemented Interfaces:
ShapePointService

@Component
public class ShapePointServiceImpl
extends Object
implements ShapePointService


Constructor Summary
ShapePointServiceImpl()
           
 
Method Summary
 ShapePoints getShapePointsForShapeId(org.onebusaway.gtfs.model.AgencyAndId shapeId)
           
 ShapePoints getShapePointsForShapeIds(List<org.onebusaway.gtfs.model.AgencyAndId> shapeIds)
           
 void setNarrativeService(NarrativeService narrativeService)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShapePointServiceImpl

public ShapePointServiceImpl()
Method Detail

setNarrativeService

public void setNarrativeService(NarrativeService narrativeService)

getShapePointsForShapeId

public ShapePoints getShapePointsForShapeId(org.onebusaway.gtfs.model.AgencyAndId shapeId)
Specified by:
getShapePointsForShapeId in interface ShapePointService
Parameters:
shapeId - the target shape id
Returns:
the set of shape points for the specified shape id, or null if the shape was not found

getShapePointsForShapeIds

public ShapePoints getShapePointsForShapeIds(List<org.onebusaway.gtfs.model.AgencyAndId> shapeIds)
Specified by:
getShapePointsForShapeIds in interface ShapePointService
Parameters:
shapeIds - the target shape ids in order
Returns:
the set of shape points for the specified shape ids


Copyright © 2012 OneBusAway. All Rights Reserved.