lucee.Componentwikitext.WikiText
Copyright 2015 Ortus Solutions, Corp www.ortussolutions.com Manage the wikitext library
Property Summary | ||||
---|---|---|---|---|
type | property | default | serializable | required |
any
|
javaloader
|
true
|
false
|
|
any
|
parserLibPath
The location of the parser's library.
|
true
|
false
|
|
any
|
translators
Available Translators array.
|
true
|
false
|
|
any
|
wikiConfig
Wiki Configuration object.
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
any
|
configure([struct settings='[runtime expression]'])
Configure the Wiki Converter Driver, usually called after construction when a system is ready to startup the engine. |
string
|
getJavaloader()
|
string
|
getParserLibPath()
|
string
|
getTranslators()
|
string
|
getWikiConfig()
|
any
|
setJavaloader(any javaloader)
|
any
|
setParserLibPath(any parserLibPath)
|
any
|
setTranslators(any translators)
|
any
|
setWikiConfig(any wikiConfig)
|
any
|
toHTML(any markup)
Convert wiki text and return a structure with two keys: [wikiModel=The java wiki model object, html=the converted html string]. |
any
|
toWiki(any translator, any html)
Convert an HTML string to wiki syntax. |
Methods inherited from class lucee.Component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
access
- publicrequired
- falsereturntype
- anyinject
- loader@cbjavaloaderserializable
- trueThe location of the parser's library
access
- publicrequired
- falsereturntype
- anyserializable
- trueAvailable Translators array
access
- publicrequired
- falsereturntype
- anyserializable
- trueWiki Configuration object
access
- publicrequired
- falsereturntype
- anyserializable
- trueMethod Detail |
---|
Configure the Wiki Converter Driver, usually called after construction when a system is ready to startup the engine
settings
javaloader
parserLibPath
translators
wikiConfig
Convert wiki text and return a structure with two keys: [wikiModel=The java wiki model object, html=the converted html string]
markup
Convert an HTML string to wiki syntax translator.hint The wiki syntax to use. It must be using a valid translator. [WIKIPEDIA,GOOGLECODE,JSPWIKI,MOINMOIN,TRAC] html.hint The html string to convert
translator
html