Class XmlMarshallerConfig

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

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

param: ignoreNamespaceVersionDifferences When true, indicates that TPEG namespace version differences will be ignored when unmarshalling. param: ignoreLocalNameCase When true, the casing of element and attribute names will be ignored when unmarshalling.

See Also:
  • Constructor Details

    • XmlMarshallerConfig

      public XmlMarshallerConfig(boolean ignoreNamespaceVersionDifferences, boolean ignoreLocalNameCase)
    • XmlMarshallerConfig

      public XmlMarshallerConfig()
      Constructs a config with both ignoreNamespaceVersionDifferences and ignoreElementNameCase set to true.
  • Method Details

    • apply

      public abstract static R apply(T1 v1, T2 v2)
    • toString

      public static String toString()
    • ignoreNamespaceVersionDifferences

      public boolean ignoreNamespaceVersionDifferences()
    • ignoreLocalNameCase

      public boolean ignoreLocalNameCase()