org.apache.maven.doxia.site.decoration
Class LinkItem

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

public class LinkItem
extends java.lang.Object
implements java.io.Serializable

A link in the navigation.

Version:
$Revision$ $Date$
See Also:
Serialized Form

Constructor Summary
LinkItem()
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Method equals.
 java.lang.String getHref()
          Get The href to use for the link.
 java.lang.String getName()
          Get The name to display for the link.
 int hashCode()
          Method hashCode.
 void setHref(java.lang.String href)
          Set The href to use for the link.
 void setName(java.lang.String name)
          Set The name to display for the link.
 java.lang.String toString()
          Method toString.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LinkItem

public LinkItem()
Method Detail

equals

public boolean equals(java.lang.Object other)
Method equals.

Parameters:
other -
Returns:
boolean

getHref

public java.lang.String getHref()
Get The href to use for the link.

Returns:
String

getName

public java.lang.String getName()
Get The name to display for the link.

Returns:
String

hashCode

public int hashCode()
Method hashCode.

Returns:
int

setHref

public void setHref(java.lang.String href)
Set The href to use for the link.

Parameters:
href -

setName

public void setName(java.lang.String name)
Set The name to display for the link.

Parameters:
name -

toString

public java.lang.String toString()
Method toString.

Returns:
String


Copyright © 2005-2009 The Apache Software Foundation. All Rights Reserved.