com.xpn.xwiki.wysiwyg.client.plugin.image
Class ImageHTMLGenerator

java.lang.Object
  extended by com.xpn.xwiki.wysiwyg.client.plugin.image.ImageHTMLGenerator

public final class ImageHTMLGenerator
extends java.lang.Object

Generates an HTML block for an image, given by it's URL and filename.

Version:
$Id: ImageHTMLGenerator.java 24761 2009-10-29 15:45:32Z mflorea $

Method Summary
 java.lang.String getAttachedImageHTML(ImageConfig imageConfig)
          Get an HTML image block for an image.
static ImageHTMLGenerator getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ImageHTMLGenerator getInstance()
Returns:
the instance of this class.

getAttachedImageHTML

public java.lang.String getAttachedImageHTML(ImageConfig imageConfig)
Get an HTML image block for an image.

Parameters:
imageConfig - the image configuration object
Returns:
the HTML block for the passed image.


Copyright © 2004-2010 XWiki. All Rights Reserved.