Package org.xwiki.skinx
Class AbstractWrapperSkinExtension
- java.lang.Object
-
- org.xwiki.skinx.AbstractWrapperSkinExtension
-
- All Implemented Interfaces:
SkinExtension
public abstract class AbstractWrapperSkinExtension extends Object implements SkinExtension
The abstract implementation of the wrapper around the skinx plugins. Provides the mechanism needed to grab the skin extensions plugins and call theuse
methods on them, subclasses only need to provide the name of the skin extension through theirSkinExtension
role hint.- Since:
- 1.20
- Version:
- $Id: 018cd3601ee2bb38d41b7e48835f070e562d7d49 $
-
-
Constructor Summary
Constructors Constructor Description AbstractWrapperSkinExtension()
-
-
-
Method Detail
-
use
public void use(String resource)
- Specified by:
use
in interfaceSkinExtension
-
use
public void use(String resource, Map<String,Object> parameters)
- Specified by:
use
in interfaceSkinExtension
-
getName
public String getName()
- Returns:
- the name of the skin extension (e.g. ssx, jsfx, etc) to wrap
-
-