@Role
@RemoteServiceRelativePath(value="HTMLConverter.gwtrpc")
public interface HTMLConverter
extends com.google.gwt.user.client.rpc.RemoteService
| Modifier and Type | Method and Description |
|---|---|
String |
fromHTML(String html,
String syntaxId)
Cleans and converts the given HTML fragment to the specified syntax.
|
String |
parseAndRender(String html,
String syntax)
Parses the given HTML fragment and renders the result in annotated XHTML syntax.
|
String |
toHTML(String source,
String syntaxId)
Converts the given source text from the specified syntax to HTML.
|
String toHTML(String source, String syntaxId)
source - the text to be convertedsyntaxId - the syntax identifierString fromHTML(String html, String syntaxId)
html - the HTML text to be convertedsyntaxId - the syntax identifierCopyright © 2004–2015 XWiki. All rights reserved.