Class LocaleChartParam
- java.lang.Object
-
- com.xpn.xwiki.plugin.charts.params.AbstractChartParam
-
- com.xpn.xwiki.plugin.charts.params.LocaleChartParam
-
- All Implemented Interfaces:
ChartParam
- Direct Known Subclasses:
DateFormatChartParam
,NumberFormatChartParam
public class LocaleChartParam extends AbstractChartParam
-
-
Field Summary
Fields Modifier and Type Field Description static String
COUNTRY
static String
LANGUAGE
static String
VARIANT
-
Fields inherited from class com.xpn.xwiki.plugin.charts.params.AbstractChartParam
LIST_SEPARATOR, MAP_ASSIGNMENT, MAP_SEPARATOR, name, optional
-
-
Constructor Summary
Constructors Constructor Description LocaleChartParam(String name)
LocaleChartParam(String name, boolean optional)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
convert(String value)
Class
getType()
-
Methods inherited from class com.xpn.xwiki.plugin.charts.params.AbstractChartParam
equals, getChoiceArg, getDoubleArg, getFloatArg, getIntArg, getListArg, getName, getStringArg, getStringOptionalArg, hashCode, isOptional, parseList, parseMap, parseMap, toFloatArray, toFloatList, toString
-
-
-
-
Field Detail
-
LANGUAGE
public static final String LANGUAGE
- See Also:
- Constant Field Values
-
COUNTRY
public static final String COUNTRY
- See Also:
- Constant Field Values
-
VARIANT
public static final String VARIANT
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public Class getType()
- Specified by:
getType
in interfaceChartParam
- Specified by:
getType
in classAbstractChartParam
-
convert
public Object convert(String value) throws ParamException
- Specified by:
convert
in interfaceChartParam
- Specified by:
convert
in classAbstractChartParam
- Throws:
ParamException
-
-