org.wikimodel.wem.xwiki.xwiki20
Class XWikiReferenceParser
java.lang.Object
org.wikimodel.wem.WikiReferenceParser
org.wikimodel.wem.xwiki.xwiki20.XWikiReferenceParser
- All Implemented Interfaces:
- IWikiReferenceParser
public class XWikiReferenceParser
- extends WikiReferenceParser
- Author:
- kotelnikov, vmassol, thomas.mortagne
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XWikiReferenceParser
public XWikiReferenceParser()
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 class WikiReferenceParser
- 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 class WikiReferenceParser
- Parameters:
chunks - the array of chunks
- Returns:
- a link extracted from the given array of chunks
getParameters
protected WikiParameters getParameters(String[] chunks)
- Description copied from class:
WikiReferenceParser
- Extracts parameters part of the original reference and returns it as a
WikiParameters.
- Overrides:
getParameters in class WikiReferenceParser
- Parameters:
chunks - the array of chunks
- Returns:
- the parameters
splitToChunks
protected String[] splitToChunks(String str)
- Description copied from class:
WikiReferenceParser
- Returns the given string split to individual segments
- Overrides:
splitToChunks in class WikiReferenceParser
- Parameters:
str - the string to split
- Returns:
- the given string split to individual segments
Copyright © 2005-2012. All Rights Reserved.