org.xwiki.skinx
Class AbstractWrapperSkinExtension

java.lang.Object
  extended by 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 the use methods on them, subclasses only need to provide the name of the skin extension through their SkinExtension role hint.

Since:
1.20
Version:
$Id$

Constructor Summary
AbstractWrapperSkinExtension()
           
 
Method Summary
 String getName()
           
 void use(String resource)
           
 void use(String resource, Map<String,Object> parameters)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractWrapperSkinExtension

public AbstractWrapperSkinExtension()
Method Detail

use

public void use(String resource)
Specified by:
use in interface SkinExtension

use

public void use(String resource,
                Map<String,Object> parameters)
Specified by:
use in interface SkinExtension

getName

public String getName()
Returns:
the name of the skin extension (e.g. ssx, jsfx, etc) to wrap


Copyright © 2004-2012 XWiki. All Rights Reserved.