org.onebusaway.transit_data_federation.services.shapes
Interface ShapePointService

All Known Implementing Classes:
ShapePointServiceImpl

public interface ShapePointService

Service for looking up ShapePoint

Author:
bdferris
See Also:
ShapePoint, ShapePoints

Method Summary
 ShapePoints getShapePointsForShapeId(org.onebusaway.gtfs.model.AgencyAndId shapeId)
           
 ShapePoints getShapePointsForShapeIds(List<org.onebusaway.gtfs.model.AgencyAndId> shapeIds)
           
 

Method Detail

getShapePointsForShapeId

ShapePoints getShapePointsForShapeId(org.onebusaway.gtfs.model.AgencyAndId shapeId)
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

ShapePoints getShapePointsForShapeIds(List<org.onebusaway.gtfs.model.AgencyAndId> shapeIds)
Parameters:
shapeIds - the target shape ids in order
Returns:
the set of shape points for the specified shape ids
Throws:
IllegalStateException - if a shape id could not be found


Copyright © 2011 OneBusAway. All Rights Reserved.