public class XWikiReferenceParser extends WikiReferenceParser
Constructor and Description |
---|
XWikiReferenceParser() |
Modifier and Type | Method and 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.
|
protected WikiParameters |
getParameters(String[] chunks)
Extracts parameters part of the original reference and returns it as a
WikiParameters.
|
protected String[] |
splitToChunks(String str)
Returns the given string split to individual segments
|
parse
protected String getLabel(String[] chunks)
WikiReferenceParser
getLabel
in class WikiReferenceParser
chunks
- the array of chunksprotected String getLink(String[] chunks)
WikiReferenceParser
getLink
in class WikiReferenceParser
chunks
- the array of chunksprotected WikiParameters getParameters(String[] chunks)
WikiReferenceParser
getParameters
in class WikiReferenceParser
chunks
- the array of chunksprotected String[] splitToChunks(String str)
WikiReferenceParser
splitToChunks
in class WikiReferenceParser
str
- the string to splitCopyright © 2004–2021 XWiki. All rights reserved.