com.xpn.xwiki.render.macro
Class ImageMacro

java.lang.Object
  extended by org.radeox.macro.BaseMacro
      extended by org.radeox.macro.BaseLocaleMacro
          extended by com.xpn.xwiki.render.macro.ImageMacro
All Implemented Interfaces:
Comparable, org.radeox.macro.LocaleMacro, org.radeox.macro.Macro

public class ImageMacro
extends org.radeox.macro.BaseLocaleMacro

Macro that displays images. Syntax: {image:text|height|width|align|halign|float|document|alt|title|link|fromIncludingDoc}

Version:
$Id: ee693f323c7ba9bd0aff979c38a9ca578081e264 $

Field Summary
 
Fields inherited from class org.radeox.macro.BaseMacro
description, initialContext, paramDescription
 
Constructor Summary
ImageMacro()
           
 
Method Summary
 void execute(Writer writer, org.radeox.macro.parameter.MacroParameter params)
           
 String getLocaleKey()
           
 
Methods inherited from class org.radeox.macro.BaseLocaleMacro
getName, setInitialContext
 
Methods inherited from class org.radeox.macro.BaseMacro
compareTo, getDescription, getParamDescription, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ImageMacro

public ImageMacro()
Method Detail

getLocaleKey

public String getLocaleKey()

execute

public void execute(Writer writer,
                    org.radeox.macro.parameter.MacroParameter params)
             throws IllegalArgumentException,
                    IOException
Specified by:
execute in interface org.radeox.macro.Macro
Specified by:
execute in class org.radeox.macro.BaseMacro
Throws:
IllegalArgumentException
IOException


Copyright © 2004-2013 XWiki. All Rights Reserved.