com.jivesoftware.forum.action
Class WikiConversionAction
java.lang.Object
com.jivesoftware.forum.action.WikiConversionAction
- All Implemented Interfaces:
- com.opensymphony.webwork.interceptor.ServletRequestAware, com.opensymphony.xwork.Action
public class WikiConversionAction
- extends java.lang.Object
- implements com.opensymphony.xwork.Action, com.opensymphony.webwork.interceptor.ServletRequestAware
Fields inherited from interface com.opensymphony.xwork.Action |
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Method Summary |
java.lang.String |
convertFromPreviewToXhtml(java.lang.String text,
javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
convertFromWiki(java.lang.String text,
javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
convertToPreviewFromWiki(java.lang.String text,
javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
convertToPreviewFromXhtml(java.lang.String html,
javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
convertToWiki(java.lang.String html,
javax.servlet.http.HttpServletRequest request)
|
java.lang.String |
execute()
|
java.lang.String |
getPreferredEditorMode(javax.servlet.http.HttpServletRequest request)
Returns the preferred editor mode for the user/guest. |
javax.servlet.http.HttpServletRequest |
getServletRequest()
|
java.lang.String |
getText()
|
void |
setPreferredEditorMode(java.lang.String mode,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Returns the preferred editor mode for the user/guest. |
void |
setServletRequest(javax.servlet.http.HttpServletRequest request)
|
void |
setText(java.lang.String text)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WikiConversionAction
public WikiConversionAction()
getText
public java.lang.String getText()
setText
public void setText(java.lang.String text)
getServletRequest
public javax.servlet.http.HttpServletRequest getServletRequest()
setServletRequest
public void setServletRequest(javax.servlet.http.HttpServletRequest request)
- Specified by:
setServletRequest
in interface com.opensymphony.webwork.interceptor.ServletRequestAware
execute
public java.lang.String execute()
throws java.lang.Exception
- Specified by:
execute
in interface com.opensymphony.xwork.Action
- Throws:
java.lang.Exception
convertFromPreviewToXhtml
public java.lang.String convertFromPreviewToXhtml(java.lang.String text,
javax.servlet.http.HttpServletRequest request)
convertFromWiki
public java.lang.String convertFromWiki(java.lang.String text,
javax.servlet.http.HttpServletRequest request)
convertToWiki
public java.lang.String convertToWiki(java.lang.String html,
javax.servlet.http.HttpServletRequest request)
convertToPreviewFromXhtml
public java.lang.String convertToPreviewFromXhtml(java.lang.String html,
javax.servlet.http.HttpServletRequest request)
convertToPreviewFromWiki
public java.lang.String convertToPreviewFromWiki(java.lang.String text,
javax.servlet.http.HttpServletRequest request)
getPreferredEditorMode
public java.lang.String getPreferredEditorMode(javax.servlet.http.HttpServletRequest request)
- Returns the preferred editor mode for the user/guest. Mode information is stored as a user
property or a cookie for guests.
setPreferredEditorMode
public void setPreferredEditorMode(java.lang.String mode,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
- Returns the preferred editor mode for the user/guest. Mode information is stored as a user
property or a cookie for guests.
Copyright © 1999-2006 Jive Software.