Whitebeam Object Definition

Site Map
 
Home
 
Application Guide
Reference
  Installation
  Configuration
  XML Markup
  JavaScript Classes
  ROM
  Templates
  Environment
  Dev Process
  Tools
  External Links
  Example libraries
Community
Contact Whitebeam
To-Do
Download
Credits
Licence
Whitebeam Users
 
 
 

Whitebeam Object Definition

Method Description

Binary.fromObj()

Store the contents of a JavaScript object.

Syntax

void = Binary.fromObj(object)

Parameters

The 'Binary.fromObj' method takes 1 parameter:

Name Type/Value Range/Length Description
objectMetaData  Required. Arbitrary JavaScript object to store in the file object.

Results

The 'Binary.fromObj' method returns no useful information.

Remarks

This method is similar to Binary.set() but instead of storing a string in the binary object - it stores an entire object. This builds on the concept of meta data by allowing an arbitrarily complex object to be serialised, stored in a binary object and subsequently recreated. In this case the recreation is implemented by the Binary.toObj() method.

In keeping with the meta-data concept generally the object can be anything represented in JavaScript - from simple string to complex structures and arrays of structures.

Whitebeam release 1.3.36
(loadtime : 10ms)