com.xpn.xwiki.web.sx
Class JsExtension

java.lang.Object
  extended by com.xpn.xwiki.web.sx.JsExtension
All Implemented Interfaces:
Extension

public class JsExtension
extends Object
implements Extension

JavaScript extension.

Since:
1.7M2
Version:
$Id: d1686c7f3ac871872dd2674c6bce46fcf6878fdc $

Constructor Summary
JsExtension()
           
 
Method Summary
 String getClassName()
           
 SxCompressor getCompressor()
           
 String getContentType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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.

getCompressor

public SxCompressor getCompressor()
Specified by:
getCompressor in interface Extension
Returns:
a compressor associated with the extension.


Copyright © 2004-2012 XWiki. All Rights Reserved.