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

java.lang.Object
  extended by org.apache.maven.doxia.site.decoration.Menu
All Implemented Interfaces:
java.io.Serializable

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

A menu in the navigation.

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

Constructor Summary
Menu()
           
 
Method Summary
 void addItem(MenuItem menuItem)
          Method addItem
 boolean equals(java.lang.Object other)
          Method equals
 java.lang.String getInherit()
          Get The way in which the menu is inherited.
 java.util.List getItems()
          Method getItems
 java.lang.String getModelEncoding()
           
 java.lang.String getName()
          Get The name to use for the menu.
 int hashCode()
          Method hashCode
 void removeItem(MenuItem menuItem)
          Method removeItem
 void setInherit(java.lang.String inherit)
          Set The way in which the menu is inherited.
 void setItems(java.util.List items)
          Set Menu item.
 void setModelEncoding(java.lang.String modelEncoding)
           
 void setName(java.lang.String name)
          Set The name to use for the menu.
 java.lang.String toString()
          Method toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Menu

public Menu()
Method Detail

addItem

public void addItem(MenuItem menuItem)
Method addItem

Parameters:
menuItem -

equals

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

Overrides:
equals in class java.lang.Object
Parameters:
other -

getInherit

public java.lang.String getInherit()
Get The way in which the menu is inherited.


getItems

public java.util.List getItems()
Method getItems


getName

public java.lang.String getName()
Get The name to use for the menu.


hashCode

public int hashCode()
Method hashCode

Overrides:
hashCode in class java.lang.Object

removeItem

public void removeItem(MenuItem menuItem)
Method removeItem

Parameters:
menuItem -

setInherit

public void setInherit(java.lang.String inherit)
Set The way in which the menu is inherited.

Parameters:
inherit -

setItems

public void setItems(java.util.List items)
Set Menu item.

Parameters:
items -

setName

public void setName(java.lang.String name)
Set The name to use for the menu.

Parameters:
name -

toString

public java.lang.String toString()
Method toString

Overrides:
toString in class java.lang.Object

setModelEncoding

public void setModelEncoding(java.lang.String modelEncoding)

getModelEncoding

public java.lang.String getModelEncoding()


Copyright 2006 null. All Rights Reserved.