org.onebusaway.api.actions.siri
Class StopMonitoringAction

java.lang.Object
  extended by com.opensymphony.xwork2.ActionSupport
      extended by org.onebusaway.api.actions.OneBusAwayApiActionSupport
          extended by org.onebusaway.api.actions.siri.StopMonitoringAction
All Implemented Interfaces:
com.opensymphony.xwork2.Action, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.ModelDriven<Object>, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, com.opensymphony.xwork2.ValidationAware, Serializable, org.apache.struts2.interceptor.ServletRequestAware

public class StopMonitoringAction
extends OneBusAwayApiActionSupport
implements com.opensymphony.xwork2.ModelDriven<Object>, org.apache.struts2.interceptor.ServletRequestAware

For a given stop, return the vehicles that are going to stop there soon. Optionally, return the next stops for those vehicles.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.opensymphony.xwork2.ActionSupport
LOG
 
Fields inherited from interface com.opensymphony.xwork2.Action
ERROR, INPUT, LOGIN, NONE, SUCCESS
 
Constructor Summary
StopMonitoringAction()
           
 
Method Summary
 Object getModel()
           
 TransitDataService getService()
           
 org.apache.struts2.rest.DefaultHttpHeaders index()
          This is the default action for
 void setService(TransitDataService service)
           
 void setServletRequest(javax.servlet.http.HttpServletRequest request)
           
 void setTime(Date time)
           
 
Methods inherited from class com.opensymphony.xwork2.ActionSupport
addActionError, addActionMessage, addFieldError, clearActionErrors, clearErrors, clearErrorsAndMessages, clearFieldErrors, clearMessages, clone, doDefault, execute, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, input, pause, setActionErrors, setActionMessages, setFieldErrors, validate
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StopMonitoringAction

public StopMonitoringAction()
Method Detail

setTime

public void setTime(Date time)

index

public org.apache.struts2.rest.DefaultHttpHeaders index()
                                                 throws IOException
This is the default action for

Returns:
Throws:
IOException

getModel

public Object getModel()
Specified by:
getModel in interface com.opensymphony.xwork2.ModelDriven<Object>

setServletRequest

public void setServletRequest(javax.servlet.http.HttpServletRequest request)
Specified by:
setServletRequest in interface org.apache.struts2.interceptor.ServletRequestAware

setService

public void setService(TransitDataService service)

getService

public TransitDataService getService()


Copyright © 2011 OneBusAway. All Rights Reserved.