org.apache.maven
Class NavBean

java.lang.Object
  extended byorg.apache.maven.NavBean

public class NavBean
extends Object

Navigation Bean.

Version:
$Id: NavBean.java 532339 2007-04-25 12:28:56Z ltheussl $
Author:
Ben Walding

Constructor Summary
NavBean()
           
 
Method Summary
 org.dom4j.tree.DefaultElement getFirstNodeByHREF(String href)
          Find the first item with a given href
 boolean isCollapsed(Object o)
          Determines if the given node is collapsed.
 boolean isSelected(Object o)
          Determines if a given item node is the selected node
 void setDocument(Object o)
          Setter.
 void setLocation(String newLocation)
          Sets the location.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NavBean

public NavBean()
Method Detail

isCollapsed

public boolean isCollapsed(Object o)
Determines if the given node is collapsed. If a parent of this node is collapsed, this will give spurious results.

Parameters:
o - the node to test
Returns:
boolean

setDocument

public void setDocument(Object o)
Setter.

Parameters:
o - The new document.

getFirstNodeByHREF

public org.dom4j.tree.DefaultElement getFirstNodeByHREF(String href)
Find the first item with a given href

Parameters:
href - the href to find.
Returns:
DefaultElement

setLocation

public void setLocation(String newLocation)
Sets the location.

Parameters:
newLocation - The location to set

isSelected

public boolean isSelected(Object o)
Determines if a given item node is the selected node

Parameters:
o - the item to test
Returns:
true if the item is currently selected.


Copyright © 2001-2007 Apache Software Foundation. All Rights Reserved.