Class LinkItem
- java.lang.Object
-
- org.apache.maven.doxia.site.decoration.LinkItem
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class LinkItem extends java.lang.Object implements java.io.Serializable, java.lang.CloneableA link in the navigation.- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LinkItem()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LinkItemclone()Method clone.booleanequals(java.lang.Object other)Method equals.java.lang.StringgetAlt()Get the alt to use for the image.java.lang.StringgetBorder()Get the border to use for the image.java.lang.StringgetHeight()Get the height to use for the image.java.lang.StringgetHref()Get the href to use for the link.java.lang.StringgetImg()Get the source location of an image.java.lang.StringgetName()Get the name to display for the link.java.lang.StringgetPosition()Get where to place the image regarding the displayed name (left or right).java.lang.StringgetTarget()Get where the new document will be displayed when the user follows a link, i.e.java.lang.StringgetTitle()Get the title to use for the image.java.lang.StringgetWidth()Get the width to use for the image.inthashCode()Method hashCode.voidsetAlt(java.lang.String alt)Set the alt to use for the image.voidsetBorder(java.lang.String border)Set the border to use for the image.voidsetHeight(java.lang.String height)Set the height to use for the image.voidsetHref(java.lang.String href)Set the href to use for the link.voidsetImg(java.lang.String img)Set the source location of an image.voidsetName(java.lang.String name)Set the name to display for the link.voidsetPosition(java.lang.String position)Set where to place the image regarding the displayed name (left or right).voidsetTarget(java.lang.String target)Set where the new document will be displayed when the user follows a link, i.e.voidsetTitle(java.lang.String title)Set the title to use for the image.voidsetWidth(java.lang.String width)Set the width to use for the image.java.lang.StringtoString()Method toString.
-
-
-
Method Detail
-
clone
public LinkItem clone()
Method clone.- Overrides:
clonein classjava.lang.Object- Returns:
- LinkItem
-
equals
public boolean equals(java.lang.Object other)
Method equals.- Overrides:
equalsin classjava.lang.Object- Parameters:
other- a other object.- Returns:
- boolean
-
getAlt
public java.lang.String getAlt()
Get the alt to use for the image.- Returns:
- String
-
getBorder
public java.lang.String getBorder()
Get the border to use for the image.- Returns:
- String
-
getHeight
public java.lang.String getHeight()
Get the height to use for the image.- Returns:
- String
-
getHref
public java.lang.String getHref()
Get the href to use for the link.- Returns:
- String
-
getImg
public java.lang.String getImg()
Get the source location of an image.- Returns:
- String
-
getName
public java.lang.String getName()
Get the name to display for the link.- Returns:
- String
-
getPosition
public java.lang.String getPosition()
Get where to place the image regarding the displayed name (left or right).- Returns:
- String
-
getTarget
public java.lang.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 java.lang.String getTitle()
Get the title to use for the image.- Returns:
- String
-
getWidth
public java.lang.String getWidth()
Get the width to use for the image.- Returns:
- String
-
hashCode
public int hashCode()
Method hashCode.- Overrides:
hashCodein classjava.lang.Object- Returns:
- int
-
setAlt
public void setAlt(java.lang.String alt)
Set the alt to use for the image.- Parameters:
alt- a alt object.
-
setBorder
public void setBorder(java.lang.String border)
Set the border to use for the image.- Parameters:
border- a border object.
-
setHeight
public void setHeight(java.lang.String height)
Set the height to use for the image.- Parameters:
height- a height object.
-
setHref
public void setHref(java.lang.String href)
Set the href to use for the link.- Parameters:
href- a href object.
-
setImg
public void setImg(java.lang.String img)
Set the source location of an image.- Parameters:
img- a img object.
-
setName
public void setName(java.lang.String name)
Set the name to display for the link.- Parameters:
name- a name object.
-
setPosition
public void setPosition(java.lang.String position)
Set where to place the image regarding the displayed name (left or right).- Parameters:
position- a position object.
-
setTarget
public void setTarget(java.lang.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(java.lang.String title)
Set the title to use for the image.- Parameters:
title- a title object.
-
setWidth
public void setWidth(java.lang.String width)
Set the width to use for the image.- Parameters:
width- a width object.
-
toString
public java.lang.String toString()
Method toString.- Overrides:
toStringin classjava.lang.Object- Returns:
- String
-
-