public interface HTMLConverterAsync
HTMLConverter with an
additional AsyncCallback parameter. This is specific to GWT's architecture.| Modifier and Type | Method and Description |
|---|---|
void |
fromHTML(String html,
String syntaxId,
com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
Makes a request to the server to convert the given HTML fragment to the specified syntax.
|
void |
parseAndRender(String html,
String syntax,
com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
Makes a request to the server to parse the given HTML fragment and render the result in annotated XHTML syntax.
|
void |
toHTML(String source,
String syntaxId,
com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
Makes a request to the server to convert the given source text from the specified syntax to HTML.
|
void toHTML(String source, String syntaxId, com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
source - the text to be convertedsyntaxId - the syntax identifiercallback - the object used to notify the caller when the server response is receivedvoid fromHTML(String html, String syntaxId, com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
html - the HTML text to be convertedsyntaxId - the syntax identifiercallback - the object used to notify the caller when the server response is receivedvoid parseAndRender(String html, String syntax, com.google.gwt.user.client.rpc.AsyncCallback<String> callback)
html - the HTML fragment to be parsed and renderedsyntax - the storage syntaxcallback - the object used to notify the caller when the server response is receivedCopyright © 2004–2015 XWiki. All rights reserved.