com.xpn.xwiki.wysiwyg.client.plugin.link
Class LinkHTMLGenerator

java.lang.Object
  extended by com.xpn.xwiki.wysiwyg.client.plugin.link.LinkHTMLGenerator

public final class LinkHTMLGenerator
extends java.lang.Object

Generates html link blocks for all types of links.

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

Method Summary
static LinkHTMLGenerator getInstance()
           
 java.lang.String getLinkHTML(LinkConfig config)
          Generates the link HTML block corresponding to the specified link configuration data.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

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

getLinkHTML

public java.lang.String getLinkHTML(LinkConfig config)
Generates the link HTML block corresponding to the specified link configuration data.

Parameters:
config - the link configuration data
Returns:
the String representing the link HTML block for the passed configuration data


Copyright © 2004-2010 XWiki. All Rights Reserved.