StringDataAdapter

Module: TSUI.Data
Extends: DataAdapter
Implements: None
Exported: Yes

Associated source files:

Description

String Data Adapter is a string pass-through adapter - it doesn't actually do anything. Use this as a fill-in adapter.

Public Methods

I2O(input: string): string
Converts raw data to JavaScript object data.Note: This implementation always returns the input unless the input is "undefined" or "null" in which case it returns undefined or null respectively.
  • input: string - The raw string data.
  • Returns: string - The processed string data or undefined or null.
O2I(output: string): string
Converts JavaScript object data to raw data.Note: This implementation always returns the output unless the output is undefined or null in which case it returns "undefined" or "null" respectively.
  • output: string -
  • Returns: string - The raw string data.


Last edited Aug 29, 2013 at 10:11 PM by EdwardNutting, version 1

Comments

No comments yet.