class OpendriveUnmarshaller: Any

Fields

Name Description
val opendriveVersion: OpendriveVersion

Constructors

<init>

constructor(opendriveVersion: OpendriveVersion)

Parameters

Name Description
opendriveVersion: OpendriveVersion

Methods

validate

fun validate(filePath: Path): Either><FatalSchemaValidationError, MessageList<SchemaValidationReportMessage>>

Parameters

Name Description
filePath: Path

ReturnValue

Name Description
Either><FatalSchemaValidationError, MessageList<SchemaValidationReportMessage>>

readFromFile

fun readFromFile(filePath: Path): Either<NoDedicatedReaderAvailable, OpendriveModel>

Parameters

Name Description
filePath: Path

ReturnValue

Name Description
Either<NoDedicatedReaderAvailable, OpendriveModel>

CompanionObject

OpendriveUnmarshaller

class OpendriveUnmarshaller: Any

Fields

Name Description
val SUPPORTED_SCHEMA_VERSIONS: Set<OpendriveVersion>
val FALLBACK: OpendriveUnmarshaller

Methods

of

fun of(version: OpendriveVersion): Either<NoDedicatedSchemaAvailable, OpendriveUnmarshaller>

Parameters

Name Description
version: OpendriveVersion

ReturnValue