Class CmsLinkBean


  • public class CmsLinkBean
    extends java.lang.Object
    A bean for representing a link, which can be external or internal.

    Since:
    8.0.0
    • Constructor Summary

      Constructors 
      Constructor Description
      CmsLinkBean​(java.lang.String link, boolean internal)
      Creates a new link bean.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getLink()
      Returns the link target.
      boolean isInternal()
      Returns true if this is an internal link.
      • Methods inherited from class java.lang.Object

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

      • CmsLinkBean

        public CmsLinkBean​(java.lang.String link,
                           boolean internal)
        Creates a new link bean.

        Parameters:
        link - the link target
        internal - true if this is an internal link
    • Method Detail

      • getLink

        public java.lang.String getLink()
        Returns the link target.

        Returns:
        the link target
      • isInternal

        public boolean isInternal()
        Returns true if this is an internal link.

        Returns:
        true if this is an internal link