Class pvr.controller.converters.MockConverter
Extends
pvr.controller.converters._Converter.
Extends the pvr.controller.converters._Converter class to support runtime data types that cannot be
supported in Properties View Designer.
Some applications include the Properties View Designer and the view run time in separate web applications. In such cases, there can be value types that cannot be modelled in Properties View Designer because of missing dependencies. For these value types, you can use mock data types and their associated controllers as proxies for their runtime counterparts. To use a mock data type, you register the mock controller class as the controllerClass for the particular data type in the integration configuration object for the Properties View Designer.
You can create a custom "mock" controller implementation or you can use the built-in pvr.controller.types.MockController class with its associated pvr.controller.converters.MockConverter class.
The pvr.controller.converters.MockConverter class is only capable of modeling null values.
Defined in: <pvr\controller\converters\MockConverter.js>.
Constructor Summary
Constructor Attributes | Constructor Name and Description |
---|---|
Method Summary
Method Attributes | Method Name and Description |
---|---|
parse(value, localized)
Overloaded to force the result to null.
|
- Methods borrowed from class pvr.controller.converters._Converter:
- format, getDefaultValue
- Methods borrowed from class pvr.logging._LoggerMixin:
- logDebug, logEntry, logError, logExit, logInfo, logWarning
Method Detail
parse(value, localized)
- Parameters:
- value
- localized