Package org.apache.wiki.parser
Class CreoleToJSPWikiTranslator
java.lang.Object
org.apache.wiki.parser.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.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontranslate
(Properties wikiProps, String content) Translates Creole markup to JSPWiki markuptranslateSignature
(Properties wikiProps, String content, String username) I have no idea what this method does.
-
Field Details
-
VAR_VERSION
The version of the filter.- See Also:
-
VAR_CREOLE_VERSION
The version of Creole that this filter supports.- See Also:
-
VAR_LINEBREAK_BLOGLIKE
The linebreak style "bloglike".- See Also:
-
VAR_LINEBREAK_C2LIKE
The linebreak style "c2like".- See Also:
-
-
Constructor Details
-
CreoleToJSPWikiTranslator
public CreoleToJSPWikiTranslator()
-
-
Method Details
-
translateSignature
I have no idea what this method does. Could someone please tell me?- Parameters:
wikiProps
- A property setcontent
- The content to translate?username
- The username in the signature?- Returns:
- Probably some translated content.
-
translate
Translates Creole markup to JSPWiki markup- Parameters:
wikiProps
- A set of Wiki Propertiescontent
- Creole markup- Returns:
- Wiki markup
-