org.xwiki.gwt.wysiwyg.client.cleaner
Interface HTMLCleanerAsync


public interface HTMLCleanerAsync

Cleaner interface to be used on the client. It should have all the methods from HTMLCleaner with an additional AsyncCallback parameter. This is specific to GWT's architecture.

Version:
$Id: a0664a293069770819d9d0cf7c97033658e04866 $

Method Summary
 void clean(String dirtyHTML, com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
          Makes a request to the server to clean the given HTML fragment.
 

Method Detail

clean

void clean(String dirtyHTML,
           com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
Makes a request to the server to clean the given HTML fragment.

Parameters:
dirtyHTML - the string containing the HTML output of the WYSIWYG editor
callback - the object used to notify the caller when the server response is received


Copyright © 2004–2015 XWiki. All rights reserved.