org.wikimodel.wem.jspwiki
Class JspWikiReferenceParser

java.lang.Object
  extended by org.wikimodel.wem.WikiReferenceParser
      extended by org.wikimodel.wem.jspwiki.JspWikiReferenceParser
All Implemented Interfaces:
IWikiReferenceParser

public class JspWikiReferenceParser
extends WikiReferenceParser

Author:
kotelnikov

Constructor Summary
JspWikiReferenceParser()
           
 
Method Summary
protected  java.lang.String getLabel(java.lang.String[] chunks)
          Extracts the label from the array of chunks and returns it.
protected  java.lang.String getLink(java.lang.String[] chunks)
          Extracts the link from the array of chunks and returns it.
 
Methods inherited from class org.wikimodel.wem.WikiReferenceParser
getParameters, parse, splitToChunks
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JspWikiReferenceParser

public JspWikiReferenceParser()
Method Detail

getLabel

protected java.lang.String getLabel(java.lang.String[] chunks)
Description copied from class: WikiReferenceParser
Extracts the label from the array of chunks and returns it.

Overrides:
getLabel in class WikiReferenceParser
Parameters:
chunks - the array of chunks
Returns:
a label extracted from the given array of chunks

getLink

protected java.lang.String getLink(java.lang.String[] chunks)
Description copied from class: WikiReferenceParser
Extracts the link from the array of chunks and returns it.

Overrides:
getLink in class WikiReferenceParser
Parameters:
chunks - the array of chunks
Returns:
a link extracted from the given array of chunks


Copyright © 2005-2009. All Rights Reserved.