net.sf.navigator.displayer
Class VelocityMenuDisplayer
java.lang.Object
net.sf.navigator.displayer.AbstractMenuDisplayer
net.sf.navigator.displayer.MessageResourcesMenuDisplayer
net.sf.navigator.displayer.VelocityMenuDisplayer
- All Implemented Interfaces:
- MenuDisplayer
public class VelocityMenuDisplayer
- extends MessageResourcesMenuDisplayer
- Version:
- 1.0
- Author:
- Matt Raible
Field Summary |
protected static org.apache.commons.logging.Log |
log
|
Method Summary |
void |
display(MenuComponent menu)
|
protected void |
displayComponents(MenuComponent menu)
|
void |
end(javax.servlet.jsp.PageContext context)
Lifecycle method that should be called when the MenuDisplayer
is done being used. |
void |
init(javax.servlet.jsp.PageContext pageContext,
MenuDisplayerMapping mapping)
Lifecycle method that should be called when the MenuDisplayer
is being prepared for use. |
static void |
initialize(javax.servlet.ServletContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final org.apache.commons.logging.Log log
VelocityMenuDisplayer
public VelocityMenuDisplayer()
initialize
public static void initialize(javax.servlet.ServletContext context)
init
public void init(javax.servlet.jsp.PageContext pageContext,
MenuDisplayerMapping mapping)
- Description copied from class:
AbstractMenuDisplayer
- Lifecycle method that should be called when the
MenuDisplayer
is being prepared for use.
- Specified by:
init
in interface MenuDisplayer
- Overrides:
init
in class AbstractMenuDisplayer
- Parameters:
pageContext
- The JSP pageContext to give the displayer access
to any resources it may need.mapping
- The menu displayer mapping used to embody the xml
definition.
display
public void display(MenuComponent menu)
throws javax.servlet.jsp.JspException,
IOException
- Specified by:
display
in interface MenuDisplayer
- Specified by:
display
in class MessageResourcesMenuDisplayer
- Throws:
javax.servlet.jsp.JspException
IOException
displayComponents
protected void displayComponents(MenuComponent menu)
throws javax.servlet.jsp.JspException,
IOException
- Throws:
javax.servlet.jsp.JspException
IOException
end
public void end(javax.servlet.jsp.PageContext context)
- Description copied from interface:
MenuDisplayer
- Lifecycle method that should be called when the
MenuDisplayer
is done being used.
- Specified by:
end
in interface MenuDisplayer
- Overrides:
end
in class AbstractMenuDisplayer
- Parameters:
context
- The JSP pageContext to give the displayer access
to any resources it may need.
Copyright © 2003-2007 SourceForge. All Rights Reserved.