|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.liferay.portlet.wiki.engines.jspwiki.JSPWikiEngine
public class JSPWikiEngine
| Constructor Summary | |
|---|---|
JSPWikiEngine()
|
|
| Method Summary | |
|---|---|
protected java.lang.String |
convert(com.liferay.portlet.wiki.model.WikiPage page)
|
java.lang.String |
convert(com.liferay.portlet.wiki.model.WikiPage page,
javax.portlet.PortletURL portletURL)
Convert the content of the given page to HTML using the portletURL to build links. |
protected LiferayJSPWikiEngine |
getEngine(long nodeId)
|
java.util.Map<java.lang.String,java.lang.Boolean> |
getOutgoingLinks(com.liferay.portlet.wiki.model.WikiPage page)
Get a map with the links included in the given page. |
void |
setInterWikiConfiguration(java.lang.String interWikiConfiguration)
Set the configuraton to support quick links to other wikis. |
void |
setMainConfiguration(java.lang.String mainConfiguration)
Set the main wiki configuraiton as a String. |
protected void |
setProperties(java.lang.String configuration)
|
boolean |
validate(long nodeId,
java.lang.String newContent)
Validate the content of a wiki page for this engine. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JSPWikiEngine()
| Method Detail |
|---|
public java.lang.String convert(com.liferay.portlet.wiki.model.WikiPage page,
javax.portlet.PortletURL portletURL)
throws com.liferay.portlet.wiki.PageContentException
WikiEngine
convert in interface WikiEnginepage - a wiki pageportletURL - a portlet URL
com.liferay.portlet.wiki.PageContentException - when there is an error parsing the page
content
public java.util.Map<java.lang.String,java.lang.Boolean> getOutgoingLinks(com.liferay.portlet.wiki.model.WikiPage page)
throws com.liferay.portlet.wiki.PageContentException
WikiEngine
getOutgoingLinks in interface WikiEnginepage - WikiPage to examine
com.liferay.portlet.wiki.PageContentExceptionpublic void setInterWikiConfiguration(java.lang.String interWikiConfiguration)
WikiEngine
setInterWikiConfiguration in interface WikiEnginepublic void setMainConfiguration(java.lang.String mainConfiguration)
WikiEngine
setMainConfiguration in interface WikiEngine
public boolean validate(long nodeId,
java.lang.String newContent)
WikiEngine
validate in interface WikiEngine
protected java.lang.String convert(com.liferay.portlet.wiki.model.WikiPage page)
throws com.ecyrd.jspwiki.WikiException
com.ecyrd.jspwiki.WikiException
protected LiferayJSPWikiEngine getEngine(long nodeId)
throws com.ecyrd.jspwiki.WikiException
com.ecyrd.jspwiki.WikiExceptionprotected void setProperties(java.lang.String configuration)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||