com.xpn.xwiki.wysiwyg.server
Class DefaultWysiwygService
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
com.google.gwt.user.server.rpc.RemoteServiceServlet
com.xpn.xwiki.wysiwyg.server.DefaultWysiwygService
- All Implemented Interfaces:
- com.google.gwt.user.client.rpc.RemoteService, com.google.gwt.user.server.rpc.SerializationPolicyProvider, WysiwygService, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class DefaultWysiwygService
- extends com.google.gwt.user.server.rpc.RemoteServiceServlet
- implements WysiwygService
- See Also:
- Serialized Form
|
Method Summary |
java.lang.String |
cleanHTML(java.lang.String dirtyHTML)
|
java.lang.String |
fromHTML(java.lang.String html,
java.lang.String syntax)
|
SyncResult |
syncEditorContent(Revision revision,
java.lang.String pageName,
int version)
|
java.lang.String |
toHTML(java.lang.String source,
java.lang.String syntax)
|
| Methods inherited from class com.google.gwt.user.server.rpc.RemoteServiceServlet |
doGetSerializationPolicy, doPost, doUnexpectedFailure, getSerializationPolicy, getThreadLocalRequest, getThreadLocalResponse, onAfterResponseSerialized, onBeforeRequestDeserialized, processCall, shouldCompressResponse |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultWysiwygService
public DefaultWysiwygService()
fromHTML
public java.lang.String fromHTML(java.lang.String html,
java.lang.String syntax)
-
- Specified by:
fromHTML in interface WysiwygService
- See Also:
WysiwygService.fromHTML(String, String)
toHTML
public java.lang.String toHTML(java.lang.String source,
java.lang.String syntax)
-
- Specified by:
toHTML in interface WysiwygService
- See Also:
WysiwygService.toHTML(String, String)
cleanHTML
public java.lang.String cleanHTML(java.lang.String dirtyHTML)
-
- Specified by:
cleanHTML in interface WysiwygService
- See Also:
WysiwygService.cleanHTML(String)
syncEditorContent
public SyncResult syncEditorContent(Revision revision,
java.lang.String pageName,
int version)
-
- Specified by:
syncEditorContent in interface WysiwygService
- See Also:
WysiwygService.syncEditorContent(Revision, String, int)
Copyright © 2004-2008 XWiki. All Rights Reserved.