|
Liferay 6.1.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.liferay.portlet.wiki.engines.HtmlEngine
public class HtmlEngine
| Constructor Summary | |
|---|---|
HtmlEngine()
|
|
| Method Summary | |
|---|---|
protected Map<String,Boolean> |
_getOutgoingLinks(WikiPage page)
|
String |
convert(WikiPage page,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
Convert the content of the given page to HTML using the view and edit URLs to build links. |
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. |
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 HtmlEngine()
| Method Detail |
|---|
public String convert(WikiPage page,
PortletURL viewPageURL,
PortletURL editPageURL,
String attachmentURLPrefix)
WikiEngine
convert in interface WikiEngine
public Map<String,Boolean> getOutgoingLinks(WikiPage page)
throws PageContentException
WikiEngine
getOutgoingLinks in interface WikiEnginePageContentExceptionpublic void setInterWikiConfiguration(String interWikiConfiguration)
WikiEngine
setInterWikiConfiguration in interface WikiEnginepublic void setMainConfiguration(String mainConfiguration)
WikiEngine
setMainConfiguration in interface WikiEngine
public boolean validate(long nodeId,
String newContent)
WikiEngine
validate in interface WikiEnginetrue if the content is valid
protected Map<String,Boolean> _getOutgoingLinks(WikiPage page)
throws Exception
Exception
|
Liferay 6.1.0-ce-rc1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||