public abstract class AbstractXWikiURL extends Object implements XWikiURL
Constructor and Description |
---|
AbstractXWikiURL(XWikiURLType type) |
Modifier and Type | Method and Description |
---|---|
void |
addParameter(String name,
String value) |
Map<String,List<String>> |
getParameters()
A XWiki URL parameter provides optional additional information about the URL.
|
String |
getParameterValue(String name) |
List<String> |
getParameterValues(String name) |
XWikiURLType |
getType() |
void |
setType(XWikiURLType type) |
public AbstractXWikiURL(XWikiURLType type)
public XWikiURLType getType()
public void setType(XWikiURLType type)
public void addParameter(String name, String value)
addParameter
in interface XWikiURL
value
- the value of the parameter to add. If null then no value is added.public Map<String,List<String>> getParameters()
XWikiURL
getParameters
in interface XWikiURL
public List<String> getParameterValues(String name)
getParameterValues
in interface XWikiURL
name
- the parameter name for which to return the valuespublic String getParameterValue(String name)
getParameterValue
in interface XWikiURL
name
- the parameter name for which to return the valueCopyright © 2004–2022 XWiki. All rights reserved.