Interface Extension

  • All Known Implementing Classes:
    CssExtension, JsExtension

    public interface Extension
    Representation of a type of extension.
    Since:
    1.7M2
    Version:
    $Id: 66e4f94e2374d108ca47466d39cf86eb8711fcb5 $
    • Method Detail

      • getClassName

        String getClassName()
        Returns:
        the full name of the wiki document holding the XWiki class defining this type of extension. For example, 'XWiki.JavaScriptExtension' for javascript extensions.
      • getContentType

        String getContentType()
        Returns:
        the contentType for that extension, as it will be written as the response content type.
      • getCompressor

        SxCompressor getCompressor()
        Returns:
        a compressor associated with the extension.