Class HyperlinkDatum

  • All Implemented Interfaces:

    
    public final class HyperlinkDatum
    
                        

    A hyperlink datum is a data class that represents a hyperlink.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getUrl() The url specification of the hyperlink, it is usually normalized, and can contain load arguments.
      final String getText() A hyperlink should have a text, so the default value is an empty string
      final Integer getOrder() The link order, e.g., the order in which the link appears on the referrer page.
      final String getReferrer() A hyperlink might have a referrer, so the default value is null
      final String getArgs() The load argument, can be parsed into a LoadOptions
      final String getHref() The hypertext reference, It defines the address of the document, which this time is linked from
      final Unit setHref(String href) The hypertext reference, It defines the address of the document, which this time is linked from
      final Boolean isPersistable() If this link is persistable
      final Integer getDepth() The depth
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getUrl

         final String getUrl()

        The url specification of the hyperlink, it is usually normalized, and can contain load arguments.

      • getText

         final String getText()

        A hyperlink should have a text, so the default value is an empty string

      • getOrder

         final Integer getOrder()

        The link order, e.g., the order in which the link appears on the referrer page.

      • getReferrer

         final String getReferrer()

        A hyperlink might have a referrer, so the default value is null

      • getArgs

         final String getArgs()

        The load argument, can be parsed into a LoadOptions

      • getHref

         final String getHref()

        The hypertext reference, It defines the address of the document, which this time is linked from

      • setHref

         final Unit setHref(String href)

        The hypertext reference, It defines the address of the document, which this time is linked from