Class pvr.controller.converters.ChoiceListConverter


Extends pvr.controller.converters._Converter.
Extends the pvr.controller.converters._Converter class to convert values and obtain the default value for values of type "choicelist".

Values of type "choicelist" are represented by pvr.controller.value.types.ChoiceList objects.


Defined in: <pvr\controller\converters\ChoiceListConverter.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
<constant>  
type 
Indicates the type of values that are supported by this converter.

Method Summary

Method Attributes Method Name and Description
 
parse(value, localized)
Overloaded to support alternate formats that are understood by the pvr.controller.value.types.ChoiceList#parse method.
Methods borrowed from class pvr.controller.converters._Converter:
format, getDefaultValue
Methods borrowed from class pvr.logging._LoggerMixin:
logDebug, logEntry, logError, logExit, logInfo, logWarning

Constructor Detail

pvr.controller.converters.ChoiceListConverter()

Field Detail

Default

The default pvr.controller.converters.ChoiceListConverter instance.

<constant> type

Indicates the type of values that are supported by this converter.

Method Detail

parse(value, localized)

Overloaded to support alternate formats that are understood by the pvr.controller.value.types.ChoiceList#parse method.
Parameters:
value
The value.
localized
Indicates whether localized or canonical parsing is required (canonical by default).
Returns:
The converted value.