Package | Description |
---|---|
org.transitime.api.data |
This package contains the classes for the objects that are serialized into
JSON or XML.
|
org.transitime.api.rootResources |
Contains descriptions of all of all of the API calls
and specifies their syntax.
|
Constructor and Description |
---|
ApiVehicle(IpcVehicle vehicle,
TransitimeApi.UiMode uiType)
Takes a Vehicle object for client/server communication and constructs a
ApiVehicle object for the API.
|
ApiVehicleAbstract(IpcVehicle vehicle,
TransitimeApi.UiMode uiType)
Takes a Vehicle object for client/server communication and constructs a
ApiVehicle object for the API.
|
ApiVehicleDetails(IpcVehicle vehicle,
Time timeForAgency,
TransitimeApi.UiMode... uiType)
Takes a Vehicle object for client/server communication and constructs a
ApiVehicle object for the API.
|
Constructor and Description |
---|
ApiVehicles(java.util.Collection<IpcVehicle> vehicles,
java.util.Map<java.lang.String,TransitimeApi.UiMode> uiTypesForVehicles)
For constructing a ApiVehicles object from a Collection of Vehicle
objects.
|
ApiVehiclesDetails(java.util.Collection<IpcVehicle> vehicles,
java.lang.String agencyId,
java.util.Map<java.lang.String,TransitimeApi.UiMode> uiTypesForVehicles)
For constructing a ApiVehiclesDetails object from a Collection of Vehicle
objects.
|
Modifier and Type | Method and Description |
---|---|
static TransitimeApi.UiMode |
TransitimeApi.UiMode.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransitimeApi.UiMode[] |
TransitimeApi.UiMode.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|