package tpeg2
Contains functionality to marshal and unmarshal TPEG2 messages from and to the binary format and xml respectively.
- Alphabetic
- By Inheritance
- tpeg2
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
trait
BinaryMarshaller[A] extends AnyRef
A marshaller that can output objects as TPEG-Binary or read them from it.
-
case class
BinaryMarshallerConfig(characterEncoding: Charset = StandardCharsets.UTF_8, alwaysIncludeTransportFrameTpegBin: Boolean = false, alwaysIncludeServiceComponentTpegBin: Boolean = false, alwaysIncludeApplicationRootMessageTpegBin: Boolean = false) extends Product with Serializable
Configuration specifying how a TPEG-Binary (un)marshaller should behave.
Configuration specifying how a TPEG-Binary (un)marshaller should behave.
- characterEncoding
Specifies the character encoding to use for (un)marshalling strings.
- alwaysIncludeTransportFrameTpegBin
Always provides a com.here.platform.location.tpeg2.sfw.TPEGbin with the binary representation of a com.here.platform.location.tpeg2.sfw.TransportFrame, even when the frame can be unmarshalled.
- alwaysIncludeServiceComponentTpegBin
Always provides a com.here.platform.location.tpeg2.sfw.TPEGbin with the binary representation of a com.here.platform.location.tpeg2.sfw.ServiceComponent, even when the service component can be unmarshalled.
- alwaysIncludeApplicationRootMessageTpegBin
Always provides a com.here.platform.location.tpeg2.sfw.TPEGbin with the binary representation of a com.here.platform.location.tpeg2.sfw.ApplicationRootMessage, even when the message can be unmarshalled.
-
case class
Tpeg2MessageView[A, M](applicationMessage: A, locationReferences: Seq[M]) extends Product with Serializable
Groups an
applicationMessage
with the containedlocationReferences
. -
class
Tpeg2Messages[A, M] extends AnyRef
A facade for application messages and the contained location references.
A facade for application messages and the contained location references.
It allows filtering by reference type as well as by application type.
-
trait
XmlMarshaller[A] extends AnyRef
A marshaller that can output objects as TPEG-ML (XML) or read them from it.
-
case class
XmlMarshallerConfig(ignoreNamespaceVersionDifferences: Boolean = true, ignoreLocalNameCase: Boolean = true) extends Product with Serializable
Configuration specifying how a TPEG-ML (un)marshaller should behave.
Configuration specifying how a TPEG-ML (un)marshaller should behave.
- ignoreNamespaceVersionDifferences
When true, indicates that TPEG namespace version differences will be ignored when unmarshalling.
- ignoreLocalNameCase
When true, the casing of element and attribute names will be ignored when unmarshalling.
Value Members
-
object
BinaryMarshallers
Factory methods for BinaryMarshallers.
- object Tpeg2Messages
-
object
XmlMarshallers
Factory methods for XmlMarshallers.