Class Attribution

  • java.lang.Object
    • com.here.sdk.routing.Attribution

  • public final class Attribution
    extends java.lang.Object

    Holds all the data on a URL address to an external resource.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.lang.String href
      An URL address that links to a particular resource.
      java.lang.String hrefText
      The interactive (or clickable) portion of the text.
      java.lang.String text
      Text describing the url address (e.g.
      AttributionType type
      Attribution link type.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • href

        @Nullable
        public java.lang.String href

        An URL address that links to a particular resource.

      • text

        @NonNull
        public java.lang.String text

        Text describing the url address (e.g. The example website).

      • hrefText

        @Nullable
        public java.lang.String hrefText

        The interactive (or clickable) portion of the text. If not present (default), the entire content of the text attribute will be considered.

    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object