EfaProvider

abstract class EfaProvider : Provider.Implementation, EfaNormalization

Functions

denormalizeEfaMeans
Link copied to clipboard
abstract fun denormalizeEfaMeans(productClass: ProductClass): EfaMeansOfTransport
abstract fun denormalizeEfaMeans(productClasses: Set<ProductClass>): Set<EfaMeansOfTransport>
denormalizeLocation
Link copied to clipboard
open fun denormalizeLocation(normalized: Location, point: EfaPoint)
normalizeAttribute
Link copied to clipboard
open fun normalizeAttribute(attribute: Attribute)
normalizeEfaMeans
Link copied to clipboard
abstract fun normalizeEfaMeans(means: EfaMeansOfTransport): ProductClass
abstract fun normalizeEfaMeans(means: Set<EfaMeansOfTransport>): Set<ProductClass>
normalizeLine
Link copied to clipboard
open fun normalizeLine(line: Line)
normalizeLocation
Link copied to clipboard
open fun normalizeLocation(location: Location)
open fun normalizeLocation(source: EfaPin, location: Location)
open fun normalizeLocation(source: EfaPoint, 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
resolveAltCode
Link copied to clipboard
open fun resolveAltCode(from: Int): EfaMeansOfTransport?

Properties

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