com.atlassian.plugin.web.model
Class DefaultWebLabel

java.lang.Object
  extended by com.atlassian.plugin.web.model.AbstractWebItem
      extended by com.atlassian.plugin.web.model.DefaultWebParam
          extended by 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.


Field Summary
 
Fields inherited from class com.atlassian.plugin.web.model.DefaultWebParam
params
 
Constructor Summary
DefaultWebLabel(org.dom4j.Element labelEl, WebFragmentHelper webFragmentHelper, ContextProvider contextProvider, WebFragmentModuleDescriptor descriptor)
           
 
Method Summary
 String getDisplayableLabel(javax.servlet.http.HttpServletRequest req, Map<String,Object> origContext)
           
 String getKey()
           
 String getNoKeyValue()
           
 
Methods inherited from class com.atlassian.plugin.web.model.DefaultWebParam
get, getParams, getRenderedParam
 
Methods inherited from class com.atlassian.plugin.web.model.AbstractWebItem
getContextMap, getDescriptor, getWebFragmentHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.plugin.web.model.WebParam
get, getDescriptor, getParams, getRenderedParam
 

Constructor Detail

DefaultWebLabel

public DefaultWebLabel(org.dom4j.Element labelEl,
                       WebFragmentHelper webFragmentHelper,
                       ContextProvider contextProvider,
                       WebFragmentModuleDescriptor descriptor)
                throws PluginParseException
Throws:
PluginParseException
Method Detail

getKey

public String getKey()
Specified by:
getKey in interface WebLabel

getNoKeyValue

public String getNoKeyValue()
Specified by:
getNoKeyValue in interface WebLabel

getDisplayableLabel

public String getDisplayableLabel(javax.servlet.http.HttpServletRequest req,
                                  Map<String,Object> origContext)
Specified by:
getDisplayableLabel in interface WebLabel


Copyright © 2010 Atlassian. All Rights Reserved.