Class BinaryMarshallerConfig

java.lang.Object
com.here.platform.location.tpeg2.BinaryMarshallerConfig
All Implemented Interfaces:
Serializable, scala.Equals, scala.Product, scala.Serializable

public class BinaryMarshallerConfig extends Object implements scala.Product, scala.Serializable
Configuration specifying how a TPEG-Binary (un)marshaller should behave.

param: characterEncoding Specifies the character encoding to use for (un)marshalling strings. param: alwaysIncludeTransportFrameTpegBin Always provides a TPEGbin with the binary representation of a TransportFrame, even when the frame can be unmarshalled. param: alwaysIncludeServiceComponentTpegBin Always provides a TPEGbin with the binary representation of a ServiceComponent, even when the service component can be unmarshalled. param: alwaysIncludeApplicationRootMessageTpegBin Always provides a TPEGbin with the binary representation of a ApplicationRootMessage, even when the message can be unmarshalled.

See Also:
  • Constructor Details

    • BinaryMarshallerConfig

      public BinaryMarshallerConfig(Charset characterEncoding, boolean alwaysIncludeTransportFrameTpegBin, boolean alwaysIncludeServiceComponentTpegBin, boolean alwaysIncludeApplicationRootMessageTpegBin)
    • BinaryMarshallerConfig

      public BinaryMarshallerConfig()
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2, T3 v3, T4 v4)
    • toString

      public static String toString()
    • characterEncoding

      public Charset characterEncoding()
    • alwaysIncludeTransportFrameTpegBin

      public boolean alwaysIncludeTransportFrameTpegBin()
    • alwaysIncludeServiceComponentTpegBin

      public boolean alwaysIncludeServiceComponentTpegBin()
    • alwaysIncludeApplicationRootMessageTpegBin

      public boolean alwaysIncludeApplicationRootMessageTpegBin()