Class pvr.controller.converters.BooleanConverter


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

Values of type "boolean" are represented by JavaScript boolean primitives.


Defined in: <pvr\controller\converters\BooleanConverter.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
 
Overloaded to include the controller's "falseIfNull" attribute value in the settings that are passed to the pvr.controller.value.Value#to method.
Methods borrowed from class pvr.controller.converters._Converter:
format, getDefaultValue, parse
Methods borrowed from class pvr.logging._LoggerMixin:
logDebug, logEntry, logError, logExit, logInfo, logWarning

Constructor Detail

pvr.controller.converters.BooleanConverter()

Field Detail

Default

The default pvr.controller.converters.BooleanConverter instance.

<constant> type

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

Method Detail

computeParseSettings()

Overloaded to include the controller's "falseIfNull" attribute value in the settings that are passed to the pvr.controller.value.Value#to method.
Returns:
An object containing the controller settings.