org.exoplatform.wcm.webui
Class WikiLinkParser

java.lang.Object
  extended by org.exoplatform.wcm.webui.WikiLinkParser

public class WikiLinkParser
extends java.lang.Object

Created by The eXo Platform SAS Author : anh.do anh.do@exoplatform.com, anhdn86@gmail.com Mar 2, 2009


Field Summary
static java.util.regex.Pattern XWIKI_LINK
          The Constant XWIKI_LINK.
 
Constructor Summary
WikiLinkParser(java.lang.String source)
          Instantiates a new wiki link parser.
 
Method Summary
 java.lang.String getDataSource()
          Gets the data source.
protected static java.util.List<org.exoplatform.portal.config.model.PageNavigation> getNavigations()
          Gets the navigations.
 java.lang.String parseHTML()
          Parses the html.
 void setDataSource(java.lang.String dataSource)
          Sets the data source.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

XWIKI_LINK

public static final java.util.regex.Pattern XWIKI_LINK
The Constant XWIKI_LINK.

Constructor Detail

WikiLinkParser

public WikiLinkParser(java.lang.String source)
Instantiates a new wiki link parser.

Parameters:
source - the source
Method Detail

setDataSource

public void setDataSource(java.lang.String dataSource)
Sets the data source.

Parameters:
dataSource - the new data source

getDataSource

public java.lang.String getDataSource()
Gets the data source.

Returns:
the data source

getNavigations

protected static java.util.List<org.exoplatform.portal.config.model.PageNavigation> getNavigations()
                                                                                            throws java.lang.Exception
Gets the navigations.

Returns:
the navigations
Throws:
java.lang.Exception - the exception

parseHTML

public java.lang.String parseHTML()
                           throws java.lang.Exception
Parses the html.

Returns:
the string
Throws:
java.lang.Exception - the exception


Copyright © 2010 eXo Platform SAS. All Rights Reserved.