com.atlassian.plugin.web.model
Class DefaultWebLabel
java.lang.Object
com.atlassian.plugin.web.model.AbstractWebItem
com.atlassian.plugin.web.model.DefaultWebParam
com.atlassian.plugin.web.model.DefaultWebLabel
- All Implemented Interfaces:
- WebLabel, WebParam
public class DefaultWebLabel
- extends DefaultWebParam
- implements WebLabel
A simple bean to represent labels in the web interface.
|
Method Summary |
java.lang.String |
getDisplayableLabel(javax.servlet.http.HttpServletRequest req,
java.util.Map<java.lang.String,java.lang.Object> origContext)
|
java.lang.String |
getKey()
|
java.lang.String |
getNoKeyValue()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWebLabel
public DefaultWebLabel(org.dom4j.Element labelEl,
WebFragmentHelper webFragmentHelper,
ContextProvider contextProvider,
WebFragmentModuleDescriptor descriptor)
throws PluginParseException
- Throws:
PluginParseException
getKey
public java.lang.String getKey()
- Specified by:
getKey in interface WebLabel
getNoKeyValue
public java.lang.String getNoKeyValue()
- Specified by:
getNoKeyValue in interface WebLabel
getDisplayableLabel
public java.lang.String getDisplayableLabel(javax.servlet.http.HttpServletRequest req,
java.util.Map<java.lang.String,java.lang.Object> origContext)
- Specified by:
getDisplayableLabel in interface WebLabel
Copyright © 2010 Atlassian. All Rights Reserved.