|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.liferay.portlet.wiki.engines.mediawiki.MediaWikiEngine
public class MediaWikiEngine
Constructor Summary | |
---|---|
MediaWikiEngine()
|
Method Summary | |
---|---|
java.lang.String |
convert(com.liferay.portlet.wiki.model.WikiPage page,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix)
Convert the content of the given page to HTML using the view and edit URLs to build links. |
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. |
protected org.jamwiki.parser.ParserInput |
getParserInput(long nodeId,
java.lang.String topicName)
|
protected org.jamwiki.parser.ParserOutput |
getParserOutput(com.liferay.portlet.wiki.model.WikiPage page)
|
protected java.lang.String |
parsePage(com.liferay.portlet.wiki.model.WikiPage page,
org.jamwiki.parser.ParserOutput parserOutput)
|
protected java.lang.String |
postParsePage(java.lang.String content,
javax.portlet.PortletURL viewPageURL,
javax.portlet.PortletURL editPageURL,
java.lang.String attachmentURLPrefix)
|
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. |
boolean |
validate(long nodeId,
java.lang.String content)
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 MediaWikiEngine()
Method Detail |
---|
public java.lang.String convert(com.liferay.portlet.wiki.model.WikiPage page, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix) throws com.liferay.portlet.wiki.PageContentException
WikiEngine
convert
in interface WikiEngine
com.liferay.portlet.wiki.PageContentException
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 WikiEngine
com.liferay.portlet.wiki.PageContentException
public void setInterWikiConfiguration(java.lang.String interWikiConfiguration)
WikiEngine
setInterWikiConfiguration
in interface WikiEngine
public void setMainConfiguration(java.lang.String mainConfiguration)
WikiEngine
setMainConfiguration
in interface WikiEngine
public boolean validate(long nodeId, java.lang.String content)
WikiEngine
validate
in interface WikiEngine
protected org.jamwiki.parser.ParserInput getParserInput(long nodeId, java.lang.String topicName)
protected org.jamwiki.parser.ParserOutput getParserOutput(com.liferay.portlet.wiki.model.WikiPage page) throws com.liferay.portlet.wiki.PageContentException
com.liferay.portlet.wiki.PageContentException
protected java.lang.String parsePage(com.liferay.portlet.wiki.model.WikiPage page, org.jamwiki.parser.ParserOutput parserOutput) throws com.liferay.portlet.wiki.PageContentException
com.liferay.portlet.wiki.PageContentException
protected java.lang.String postParsePage(java.lang.String content, javax.portlet.PortletURL viewPageURL, javax.portlet.PortletURL editPageURL, java.lang.String attachmentURLPrefix)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |