|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.olat.core.gui.components.Component
org.olat.modules.wiki.gui.components.wikiToHtml.WikiMarkupComponent
public class WikiMarkupComponent
Description:
This component renders a string containing media wiki syntax to html
for a reference of the media wiki syntax see: http://meta.wikimedia.org/wiki/Help:Editing
Initial Date: May 17, 2006
| Constructor Summary | |
|---|---|
WikiMarkupComponent(java.lang.String name,
OLATResourceable ores,
int minHeight)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getExtendedDebugInfo()
|
ComponentRenderer |
getHTMLRendererSingleton()
|
java.lang.String |
getImageBaseUri()
|
java.lang.String |
getWikiContent()
|
org.jamwiki.DataHandler |
lookupDataHandler()
returns the datahandler for the jamwiki parser |
void |
setImageMapperUri(UserRequest ureq,
VFSContainer wikiContainer)
if the wiki need to serve images you have to set the image mapper uri first! The mapper creates an user session based mapper for the media files which can be requested by calling @see getImageBaseUri() |
void |
setWikiContent(java.lang.String wikiContent)
|
void |
validate(UserRequest ureq,
ValidationResult vr)
called just before the rendering of the -whole tree- takes place, so e.g. |
| Methods inherited from class org.olat.core.gui.components.Component |
|---|
addListener, debuginfoGetListeners, dispatchRequest, getAndClearLatestFiredEvent, getComponentName, getDispatchID, getLatestDispatchedController, getListenerInfo, getParent, getSpanAsDomReplaceable, getTimestamp, getTranslator, isDirty, isDirtyForUser, isDomReplaceable, isEnabled, isVisible, setDirty, setDomReplaceable, setEnabled, setSpanAsDomReplaceable, setVisible, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public WikiMarkupComponent(java.lang.String name,
OLATResourceable ores,
int minHeight)
| Method Detail |
|---|
public ComponentRenderer getHTMLRendererSingleton()
getHTMLRendererSingleton in class ComponentComponent.getHTMLRendererSingleton()public java.lang.String getWikiContent()
public void setWikiContent(java.lang.String wikiContent)
public void setImageMapperUri(UserRequest ureq,
VFSContainer wikiContainer)
ureq - wikiContainer - public java.lang.String getImageBaseUri()
public java.lang.String getExtendedDebugInfo()
getExtendedDebugInfo in class Component
public void validate(UserRequest ureq,
ValidationResult vr)
Component
validate in class ComponentComponent.validate(org.olat.core.gui.UserRequest,
org.olat.core.gui.render.ValidationResult)public org.jamwiki.DataHandler lookupDataHandler()
org.jamwiki.DataHandlerLookup#lookupDataHandler()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||