Class CssSkinExtensionPlugin

  • All Implemented Interfaces:
    com.xpn.xwiki.internal.cache.rendering.RenderingCacheAware, XWikiPluginInterface, org.xwiki.observation.EventListener

    public class CssSkinExtensionPlugin
    extends AbstractDocumentSkinExtensionPlugin
    Skin Extension plugin that allows pulling CSS code stored inside wiki documents as XWiki.StyleSheetExtension objects.
    $Id: fab7e51311544f707d45b37cbe8a8dc7bd3ae9fa $
    • Field Detail


        public static final String SSX_CLASS_NAME
        The name of the XClass storing the code for this type of extensions.
        See Also:
        Constant Field Values

        public static final org.xwiki.model.reference.LocalDocumentReference SSX_CLASS_REFERENCE
        The local reference of the XClass storing the code for this type of extensions.

        public static final String PLUGIN_NAME
        The identifier for this plugin; used for accessing the plugin from velocity, and as the action returning the extension content.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CssSkinExtensionPlugin

        public CssSkinExtensionPlugin​(String name,
                                      String className,
                                      XWikiContext context)
        XWiki plugin constructor.
        name - The name of the plugin, which can be used for retrieving the plugin API from velocity. Unused.
        className - The canonical classname of the plugin. Unused.
        context - The current request context.
        See Also: