|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.ecyrd.jspwiki.plugin.Image
public class Image
Provides an image plugin for better control than is possible with a simple image inclusion.
Most parameters are equivalents of the html image attributes.
Parameters :
| Field Summary | |
|---|---|
static String |
PARAM_ALIGN
The parameter name for setting the align. |
static String |
PARAM_ALT
The parameter name for setting the alt. |
static String |
PARAM_BORDER
The parameter name for setting the border. |
static String |
PARAM_CAPTION
The parameter name for setting the caption. |
static String |
PARAM_CLASS
The parameter name for setting the class. |
static String |
PARAM_HEIGHT
The parameter name for setting the height. |
static String |
PARAM_LINK
The parameter name for setting the link. |
static String |
PARAM_SRC
The parameter name for setting the src. |
static String |
PARAM_STYLE
The parameter name for setting the style. |
static String |
PARAM_TARGET
The parameter name for setting the target. |
static String |
PARAM_WIDTH
The parameter name for setting the width. |
| Fields inherited from interface com.ecyrd.jspwiki.plugin.WikiPlugin |
|---|
CORE_PLUGINS_RESOURCEBUNDLE |
| Constructor Summary | |
|---|---|
Image()
|
|
| Method Summary | |
|---|---|
String |
execute(WikiContext context,
Map params)
This is the main entry point for any plugin. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String PARAM_SRC
public static final String PARAM_ALIGN
public static final String PARAM_HEIGHT
public static final String PARAM_WIDTH
public static final String PARAM_ALT
public static final String PARAM_CAPTION
public static final String PARAM_LINK
public static final String PARAM_TARGET
public static final String PARAM_STYLE
public static final String PARAM_CLASS
public static final String PARAM_BORDER
| Constructor Detail |
|---|
public Image()
| Method Detail |
|---|
public String execute(WikiContext context,
Map params)
throws PluginException
Note that it is preferred that the plugin returns XHTML-compliant HTML (i.e. close all tags, use <br /> instead of <br>, etc.
execute in interface WikiPlugincontext - The current WikiContext.params - A Map which contains key-value pairs. Any
parameter that the user has specified on the
wiki page will contain String-String
parameters, but it is possible that at some future date,
JSPWiki will give you other things that are not Strings.
PluginException - In case anything goes wrong.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||