Class JsExtension

  • All Implemented Interfaces:
    Extension

    public class JsExtension
    extends Object
    implements Extension
    JavaScript extension.
    Since:
    1.7M2
    Version:
    $Id: 79fba19f64be83aaf835747e291ba7dbc34f5c2b $
    • Constructor Detail

      • JsExtension

        public JsExtension()
    • Method Detail

      • getClassName

        public String getClassName()
        Specified by:
        getClassName in interface Extension
        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

        public String getContentType()
        Specified by:
        getContentType in interface Extension
        Returns:
        the contentType for that extension, as it will be written as the response content type.