Package com.jalios.jcms.policy
Class BasicDataIconPolicyFilter
- java.lang.Object
-
- com.jalios.jcms.policy.AbstractPolicyFilter
-
- com.jalios.jcms.policy.BasicDataIconPolicyFilter
-
- All Implemented Interfaces:
PluginComponent
,DataIconPolicyFilter
,PolicyFilter
,java.lang.Comparable
public class BasicDataIconPolicyFilter extends AbstractPolicyFilter implements DataIconPolicyFilter
-
-
Field Summary
-
Fields inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
order
-
Fields inherited from interface com.jalios.jcms.plugin.PluginComponent
REVISION
-
-
Constructor Summary
Constructors Constructor Description BasicDataIconPolicyFilter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDataIcon(Data data, java.lang.String icon)
java.lang.String
getDataIconAlt(Data data, java.lang.String alt, java.lang.String userLang)
java.lang.String
getDataIconHtml(Data data, java.lang.String html, java.lang.String userLang)
java.lang.String
getDataIconTitle(Data data, java.lang.String title, java.lang.String userLang)
boolean
init(Plugin plugin)
Initialize the component with the given plugin configuration-
Methods inherited from class com.jalios.jcms.policy.AbstractPolicyFilter
compareTo, equals, getOrder, setOrder
-
-
-
-
Method Detail
-
init
public boolean init(Plugin plugin)
Description copied from interface:PluginComponent
Initialize the component with the given plugin configuration- Specified by:
init
in interfacePluginComponent
- Parameters:
plugin
- the calling plugin- Returns:
- true if the component has been correctly initialized.
-
getDataIcon
public java.lang.String getDataIcon(Data data, java.lang.String icon)
- Specified by:
getDataIcon
in interfaceDataIconPolicyFilter
-
getDataIconAlt
public java.lang.String getDataIconAlt(Data data, java.lang.String alt, java.lang.String userLang)
- Specified by:
getDataIconAlt
in interfaceDataIconPolicyFilter
-
getDataIconTitle
public java.lang.String getDataIconTitle(Data data, java.lang.String title, java.lang.String userLang)
- Specified by:
getDataIconTitle
in interfaceDataIconPolicyFilter
-
getDataIconHtml
public java.lang.String getDataIconHtml(Data data, java.lang.String html, java.lang.String userLang)
- Specified by:
getDataIconHtml
in interfaceDataIconPolicyFilter
-
-