HapiProvider

abstract class HapiProvider : Provider.Implementation, HafasClassMapping

Functions

normalizeAttribute
Link copied to clipboard
open fun normalizeAttribute(attribute: Attribute)
normalizeLine
Link copied to clipboard
open fun normalizeLine(line: Line)
normalizeLocation
Link copied to clipboard
open fun normalizeLocation(location: Location)
normalizeMessage
Link copied to clipboard
open fun normalizeMessage(message: Message)
offers
Link copied to clipboard
inline fun <C : Service> offers(): Boolean
open fun <C : Service> offers(serviceClass: KClass<C>): Boolean
optional
Link copied to clipboard
inline fun <C : Service> optional(): C?
fun <C : Service> optional(serviceClass: KClass<C>): C?
require
Link copied to clipboard
inline fun <C : Service> require(): C
fun <C : Service> require(serviceClass: KClass<C>): C
setFromBitmask
Link copied to clipboard
abstract fun setFromBitmask(from: Int): Set<ProductClass>
setToBitmask
Link copied to clipboard
abstract fun setToBitmask(from: Set<ProductClass>): Int
singleFromClass
Link copied to clipboard
abstract fun singleFromClass(from: Int): ProductClass
singleToClass
Link copied to clipboard
abstract fun singleToClass(from: ProductClass): Int

Properties

accessId
Link copied to clipboard
abstract val accessId: String
baseUrl
Link copied to clipboard
abstract val baseUrl: String
services
Link copied to clipboard
open override val services: Set<KClass<out Service>>
timezone
Link copied to clipboard
abstract val timezone: ZoneOffset