|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.liferay.portlet.wiki.engines.jspwiki.JSPWikiEngine
public class JSPWikiEngine
Constructor Summary | |
---|---|
JSPWikiEngine()
|
Method Summary | |
---|---|
protected String |
convert(WikiPage page)
|
String |
convert(WikiPage page,
PortletURL portletURL)
Convert the content of the given page to HTML using the portletURL to build links. |
protected LiferayJSPWikiEngine |
getEngine(long nodeId)
|
Map<String,Boolean> |
getOutgoingLinks(WikiPage page)
Get a map with the links included in the given page. |
void |
setInterWikiConfiguration(String interWikiConfiguration)
Set the configuraton to support quick links to other wikis. |
void |
setMainConfiguration(String mainConfiguration)
Set the main wiki configuraiton as a String. |
protected void |
setProperties(String configuration)
|
boolean |
validate(long nodeId,
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 String convert(WikiPage page, PortletURL portletURL) throws PageContentException
WikiEngine
convert
in interface WikiEngine
PageContentException
public Map<String,Boolean> getOutgoingLinks(WikiPage page) throws PageContentException
WikiEngine
getOutgoingLinks
in interface WikiEngine
PageContentException
public void setInterWikiConfiguration(String interWikiConfiguration)
WikiEngine
setInterWikiConfiguration
in interface WikiEngine
public void setMainConfiguration(String mainConfiguration)
WikiEngine
setMainConfiguration
in interface WikiEngine
public boolean validate(long nodeId, String newContent)
WikiEngine
validate
in interface WikiEngine
true
if the content is validprotected String convert(WikiPage page) throws com.ecyrd.jspwiki.WikiException
com.ecyrd.jspwiki.WikiException
protected LiferayJSPWikiEngine getEngine(long nodeId) throws com.ecyrd.jspwiki.WikiException
com.ecyrd.jspwiki.WikiException
protected void setProperties(String configuration)
|
Liferay 6.0.5 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |