org.onebusaway.transit_data_federation.impl.shapes
Class ShapePointServiceImpl
java.lang.Object
org.onebusaway.transit_data_federation.impl.shapes.ShapePointServiceImpl
- All Implemented Interfaces:
- ShapePointService
@Component
public class ShapePointServiceImpl
- extends Object
- implements ShapePointService
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShapePointServiceImpl
public ShapePointServiceImpl()
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.