Class JspWikiReferenceParser
- java.lang.Object
-
- org.xwiki.rendering.wikimodel.WikiReferenceParser
-
- org.xwiki.rendering.wikimodel.jspwiki.JspWikiReferenceParser
-
- All Implemented Interfaces:
IWikiReferenceParser
public class JspWikiReferenceParser extends WikiReferenceParser
- Since:
- 4.0M1
- Version:
- $Id: a421d01425020251c0c6ea5e6fed33bc0624d243 $
-
-
Constructor Summary
Constructors Constructor Description JspWikiReferenceParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String
getLabel(String[] chunks)
Extracts the label from the array of chunks and returns it.protected String
getLink(String[] chunks)
Extracts the link from the array of chunks and returns it.-
Methods inherited from class org.xwiki.rendering.wikimodel.WikiReferenceParser
getParameters, parse, splitToChunks
-
-
-
-
Method Detail
-
getLabel
protected String getLabel(String[] chunks)
Description copied from class:WikiReferenceParser
Extracts the label from the array of chunks and returns it.- Overrides:
getLabel
in classWikiReferenceParser
- Parameters:
chunks
- the array of chunks- Returns:
- a label extracted from the given array of chunks
-
getLink
protected String getLink(String[] chunks)
Description copied from class:WikiReferenceParser
Extracts the link from the array of chunks and returns it.- Overrides:
getLink
in classWikiReferenceParser
- Parameters:
chunks
- the array of chunks- Returns:
- a link extracted from the given array of chunks
-
-