org.makumba.commons
Class JspWikiFormatter
java.lang.Object
org.makumba.commons.JspWikiFormatter
- All Implemented Interfaces:
- WikiFormatter
public class JspWikiFormatter
- extends Object
- implements WikiFormatter
Wiki formatter from JSP wiki
- Version:
- $Id: JspWikiFormatter.java 3575 2009-01-05 20:36:12Z manuel_gay $
- Author:
- Rudolf Mayer
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
testEngine
protected static com.ecyrd.jspwiki.TestEngine testEngine
props
protected static Properties props
context
protected static com.ecyrd.jspwiki.WikiContext context
JspWikiFormatter
public JspWikiFormatter()
getInstance
public static JspWikiFormatter getInstance()
- Returns the singleton instance of this formatter, or creates it if it did not exist yet.
- Returns:
wiki2html
public String wiki2html(String s)
- Description copied from interface:
WikiFormatter
- Formats a String containing wiki code into HTML code.
- Specified by:
wiki2html in interface WikiFormatter
- Parameters:
s - a string containing wiki code.
- Returns:
- The generated HTML code.
- See Also:
WikiFormatter.wiki2html(java.lang.String)