Class LinkItem

java.lang.Object
org.apache.maven.doxia.site.decoration.LinkItem
All Implemented Interfaces:
Serializable, Cloneable
Direct Known Subclasses:
Logo, MenuItem

public class LinkItem extends Object implements Serializable, Cloneable
A link in the navigation.
Version:
$Revision$ $Date$
See Also:
  • Constructor Details

    • LinkItem

      public LinkItem()
  • Method Details

    • clone

      public LinkItem clone()
      Method clone.
      Overrides:
      clone in class Object
      Returns:
      LinkItem
    • equals

      public boolean equals(Object other)
      Method equals.
      Overrides:
      equals in class Object
      Parameters:
      other - a other object.
      Returns:
      boolean
    • getAlt

      public String getAlt()
      Get the alt to use for the image.
      Returns:
      String
    • getBorder

      public String getBorder()
      Get the border to use for the image.
      Returns:
      String
    • getHeight

      public String getHeight()
      Get the height to use for the image.
      Returns:
      String
    • getHref

      public String getHref()
      Get the href to use for the link.
      Returns:
      String
    • getImg

      public String getImg()
      Get the source location of an image.
      Returns:
      String
    • getName

      public String getName()
      Get the name to display for the link.
      Returns:
      String
    • getPosition

      public String getPosition()
      Get where to place the image regarding the displayed name (left or right).
      Returns:
      String
    • getTarget

      public String getTarget()
      Get where the new document will be displayed when the user follows a link, i.e. _blank opens the new document in a new window.
      Returns:
      String
    • getTitle

      public String getTitle()
      Get the title to use for the image.
      Returns:
      String
    • getWidth

      public String getWidth()
      Get the width to use for the image.
      Returns:
      String
    • hashCode

      public int hashCode()
      Method hashCode.
      Overrides:
      hashCode in class Object
      Returns:
      int
    • setAlt

      public void setAlt(String alt)
      Set the alt to use for the image.
      Parameters:
      alt - a alt object.
    • setBorder

      public void setBorder(String border)
      Set the border to use for the image.
      Parameters:
      border - a border object.
    • setHeight

      public void setHeight(String height)
      Set the height to use for the image.
      Parameters:
      height - a height object.
    • setHref

      public void setHref(String href)
      Set the href to use for the link.
      Parameters:
      href - a href object.
    • setImg

      public void setImg(String img)
      Set the source location of an image.
      Parameters:
      img - a img object.
    • setName

      public void setName(String name)
      Set the name to display for the link.
      Parameters:
      name - a name object.
    • setPosition

      public void setPosition(String position)
      Set where to place the image regarding the displayed name (left or right).
      Parameters:
      position - a position object.
    • setTarget

      public void setTarget(String target)
      Set where the new document will be displayed when the user follows a link, i.e. _blank opens the new document in a new window.
      Parameters:
      target - a target object.
    • setTitle

      public void setTitle(String title)
      Set the title to use for the image.
      Parameters:
      title - a title object.
    • setWidth

      public void setWidth(String width)
      Set the width to use for the image.
      Parameters:
      width - a width object.
    • toString

      public String toString()
      Method toString.
      Overrides:
      toString in class Object
      Returns:
      String