|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface HTMLConverterAsync
Converter interface to be used on the client. It should have all the methods from HTMLConverter with an
additional AsyncCallback parameter. This is specific to GWT's architecture.
| Method Summary | |
|---|---|
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. |
| Method Detail |
|---|
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 received
void 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 received
void 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 received
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||