|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wiki.parser.CreoleToJSPWikiTranslator
public class CreoleToJSPWikiTranslator
Translates Creole markp to JSPWiki markup. Simple translator uses regular expressions. See http://www.wikicreole.org for the WikiCreole spec.
This translator can be configured through properties defined in jspwiki.properties starting with "creole.*". See the jspwiki.properties file for an explanation of the properties
WARNING: This is an experimental feature, and known to be broken. Use at your own risk.
Field Summary | |
---|---|
static String |
VAR_CREOLE_VERSION
The version of Creole that this filter supports. |
static String |
VAR_LINEBREAK_BLOGLIKE
The linebreak style "bloglike". |
static String |
VAR_LINEBREAK_C2LIKE
The linebreak style "c2like". |
static String |
VAR_VERSION
The version of the filter. |
Constructor Summary | |
---|---|
CreoleToJSPWikiTranslator()
|
Method Summary | |
---|---|
String |
translate(Properties wikiProps,
String content)
Translates Creole markup to JSPWiki markup |
String |
translateSignature(Properties wikiProps,
String content,
String username)
I have no idea what this method does. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String VAR_VERSION
public static final String VAR_CREOLE_VERSION
public static final String VAR_LINEBREAK_BLOGLIKE
public static final String VAR_LINEBREAK_C2LIKE
Constructor Detail |
---|
public CreoleToJSPWikiTranslator()
Method Detail |
---|
public String translateSignature(Properties wikiProps, String content, String username)
wikiProps
- A property setcontent
- The content to translate?username
- The username in the signature?
public String translate(Properties wikiProps, String content)
wikiProps
- A set of Wiki Propertiescontent
- Creole markup
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |