Package org.apache.maven.doxia.site
Class LinkItem
java.lang.Object
org.apache.maven.doxia.site.LinkItem
- All Implemented Interfaces:
Serializable
,Cloneable
A link in the navigation.
- Version:
- $Revision$ $Date$
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
Method clone.boolean
Method equals.getHref()
Get the href to use for the link.getImage()
Get the image for the link.getName()
Get the name to display for the link.Get where the new document will be displayed when the user follows a link, i.e.int
hashCode()
Method hashCode.void
Set the href to use for the link.void
Set the image for the link.void
Set the name to display for the link.void
Set where the new document will be displayed when the user follows a link, i.e.toString()
Method toString.
-
Constructor Details
-
LinkItem
public LinkItem()
-
-
Method Details
-
clone
Method clone. -
equals
Method equals. -
getHref
Get the href to use for the link.- Returns:
- String
-
getImage
Get the image for the link.- Returns:
- Image
-
getName
Get the name to display for the link.- Returns:
- 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
-
hashCode
public int hashCode()Method hashCode. -
setHref
Set the href to use for the link.- Parameters:
href
- a href object.
-
setImage
Set the image for the link.- Parameters:
image
- a image object.
-
setName
Set the name to display for the link.- Parameters:
name
- a name object.
-
setTarget
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.
-
toString
Method toString.
-