Class LinkItem
- java.lang.Object
-
- org.apache.maven.doxia.site.decoration.LinkItem
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class LinkItem extends Object implements Serializable, Cloneable
A 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 LinkItem
clone()
Method clone.boolean
equals(Object other)
Method equals.String
getAlt()
Get the alt to use for the image.String
getBorder()
Get the border to use for the image.String
getHeight()
Get the height to use for the image.String
getHref()
Get the href to use for the link.String
getImg()
Get the source location of an image.String
getName()
Get the name to display for the link.String
getPosition()
Get where to place the image regarding the displayed name (left or right).String
getTarget()
Get where the new document will be displayed when the user follows a link, i.e.String
getTitle()
Get the title to use for the image.String
getWidth()
Get the width to use for the image.int
hashCode()
Method hashCode.void
setAlt(String alt)
Set the alt to use for the image.void
setBorder(String border)
Set the border to use for the image.void
setHeight(String height)
Set the height to use for the image.void
setHref(String href)
Set the href to use for the link.void
setImg(String img)
Set the source location of an image.void
setName(String name)
Set the name to display for the link.void
setPosition(String position)
Set where to place the image regarding the displayed name (left or right).void
setTarget(String target)
Set where the new document will be displayed when the user follows a link, i.e.void
setTitle(String title)
Set the title to use for the image.void
setWidth(String width)
Set the width to use for the image.String
toString()
Method toString.
-
-
-
Method Detail
-
equals
public boolean equals(Object other)
Method equals.
-
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
-
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.
-
-