com.atlassian.plugin.web.model
Class DefaultWebParam
java.lang.Object
com.atlassian.plugin.web.model.AbstractWebItem
com.atlassian.plugin.web.model.DefaultWebParam
- All Implemented Interfaces:
- WebParam
- Direct Known Subclasses:
- DefaultWebLabel
public class DefaultWebParam
- extends AbstractWebItem
- implements WebParam
Represents a sorted map of parameters. Individual value of the param can be rendered using velocity.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
params
protected SortedMap<String,String> params
- parameters are sorted in order for the i18n arguments to be in order
DefaultWebParam
public DefaultWebParam(org.dom4j.Element element,
WebFragmentHelper webFragmentHelper,
ContextProvider contextProvider,
WebFragmentModuleDescriptor descriptor)
DefaultWebParam
public DefaultWebParam(Map<String,String> params,
WebFragmentHelper webFragmentHelper,
ContextProvider contextProvider,
WebFragmentModuleDescriptor descriptor)
getParams
public SortedMap<String,String> getParams()
- Specified by:
getParams in interface WebParam
get
public Object get(String key)
- Specified by:
get in interface WebParam
getRenderedParam
public String getRenderedParam(String paramKey,
Map<String,Object> context)
- Specified by:
getRenderedParam in interface WebParam
Copyright © 2013 Atlassian. All Rights Reserved.