net.mlw.vlh.web.util
Class PassThroughDisplayHelper
java.lang.Object
net.mlw.vlh.web.util.PassThroughDisplayHelper
- All Implemented Interfaces:
- DisplayHelper
- public final class PassThroughDisplayHelper
- extends Object
- implements DisplayHelper
Default implementation that return the key passed in.
This would be used if no I18N where intended, or i18n was done by
some other means.
- Version:
- $Revision: 1.2 $ $Date: 2004/07/30 20:35:41 $
- Author:
- Matthew L. Wilson
Method Summary |
String |
help(javax.servlet.jsp.PageContext pageContext,
String key)
Abstracts the means by which text is displayed. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PassThroughDisplayHelper
public PassThroughDisplayHelper()
help
public String help(javax.servlet.jsp.PageContext pageContext,
String key)
- Description copied from interface:
DisplayHelper
- Abstracts the means by which text is displayed.
- Specified by:
help
in interface DisplayHelper
- Parameters:
pageContext
- The jsp PageContextkey
- The key, which could be the value to display or some sort of key
to the text value.
- Returns:
- The text value.
- See Also:
DisplayHelper.help(javax.servlet.jsp.PageContext,
java.lang.String)
Copyright © 2003-2006 mlavilson. All Rights Reserved.