org.polliwog.data
Class Menu

java.lang.Object
  extended by org.polliwog.data.Menu

public class Menu
extends java.lang.Object


Nested Class Summary
 class Menu.XMLConstants
           
 
Constructor Summary
Menu(org.jdom.Element root, VisitorEnvironment env, boolean subMenu)
           
 
Method Summary
 void addItem(Page p, java.lang.String outFile, java.lang.String title, java.lang.String icon)
           
 java.lang.String generate(VisitorData vd, boolean subMenu)
           
 java.lang.String getIconForId(java.lang.String id)
           
 java.lang.String getId()
           
 Menu getMenu(java.lang.String id)
           
 java.lang.String getTitleForId(java.lang.String id)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Menu

public Menu(org.jdom.Element root,
            VisitorEnvironment env,
            boolean subMenu)
     throws org.jdom.JDOMException,
            WeblogException
Throws:
org.jdom.JDOMException
WeblogException
Method Detail

getIconForId

public java.lang.String getIconForId(java.lang.String id)

getTitleForId

public java.lang.String getTitleForId(java.lang.String id)

generate

public java.lang.String generate(VisitorData vd,
                                 boolean subMenu)
                          throws WeblogException
Throws:
WeblogException

getMenu

public Menu getMenu(java.lang.String id)

addItem

public void addItem(Page p,
                    java.lang.String outFile,
                    java.lang.String title,
                    java.lang.String icon)

getId

public java.lang.String getId()


  Copyright © 2007 Gary Bentley. All Rights Reserved.