Package spark.data

The Spark data facility provides a general mechanism for accessing objects and their components.

See:
          Description

Interface Summary
SA This is the interface for Spark arrays of objects.
SO This defines the object interface for all objects in the Spark data model.
SParented This is the interface for all objects that have a parent.
 

Class Summary
SArray This is a concrete implementation of SA that implements arrays with arbitrary content and of dynamic length.
SObj This is a concrete implementation of SO.
SOReflect This is a concrete implementation of SO that has special properties.
SV This is a general container for Spark data values.
 

Enum Summary
SVal This enumerates the types of values that can be stored in an SV
 

Package spark.data Description

The Spark data facility provides a general mechanism for accessing objects and their components. There are three standard interfaces (SO-object, SA-array, SV-value) that define access to these objects. Theses are modeled after the data structures of JavaScript with the exception that there is explicit provision for objects with classes.

This general data model is used throughout the Spark system to represent virtually anything. The spark.data.io package provides general mechanisms for reading and writing SPARK data in a variety of formats.

It is also possible to wrap the SPARK data model around any Java objects using Java's reflection mechanism. This allows ordinary Java objects to use the facilities described here.

The most important classes are as follows: