com.xpn.xwiki.web.sx
Interface Extension

All Known Implementing Classes:
CssExtension, JsExtension

public interface Extension

Representation of a type of extension.

Since:
1.7M2
Version:
$Id$

Method Summary
 String getClassName()
           
 SxCompressor getCompressor()
           
 String getContentType()
           
 

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.


Copyright © 2004-2012 XWiki. All Rights Reserved.