Class XmlMarshallerConfig

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

public class XmlMarshallerConfig extends Object implements scala.Product, 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 Summary

    Constructors
    Constructor
    Description
    Constructs a config with both ignoreNamespaceVersionDifferences and ignoreElementNameCase set to true.
    XmlMarshallerConfig(boolean ignoreNamespaceVersionDifferences, boolean ignoreLocalNameCase)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    abstract static R
    apply(T1 v1, T2 v2)
     
    boolean
     
    boolean
     
    static String
     

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface scala.Equals

    canEqual, equals

    Methods inherited from interface scala.Product

    productArity, productElement, productElementName, productElementNames, productIterator, productPrefix
  • 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()