Documentation in progress: please use the 3.4 Reference Manual.

Name

LzDataElement — A node of hierarchical data.

Synopsis

JavaScript: LzDataElement
Type: Class
Access: public
Topic: LFC.Data
Declared in: WEB-INF/lps/lfc/data/LzDataElement.lzs

Description

An LzDataElement represents a node a in a hierarchical dataset. An LzDataElement can contain other LzDataElements, or LzDataText, which represents a text node. See the example on LzDataNode.

Superclass Chain

LzMiniNode » LzDataElement

Known Subclasses

Details

Static Properties (1)

valueToElement
static public var valueToElement;

Static Methods (1)

makeNodeList()
static public function makeNodeList(count : Number, name : String) : Array;
Returns a list of empty nodes, each named 'name'.

Properties (4)

attributes
public var attributes : Object = null;
The dictionary of attributes for this node.
childNodes
public var childNodes : LzDataNode = null;
An array of children of this node
nodeName
public var nodeName : String = null;
The name of this node.
nodeType
public var nodeType;

Methods (1)

initialize()
public function initialize(name, attributes, children);

JavaScript Synopsis

public LzDataElement extends  LzMiniNode  {
  static public function makeNodeList (count : Number, name : String) : Array;
  static public var valueToElement ;
  public var attributes  : Object = null;
  public var childNodes  : LzDataNode = null;
  public var nodeName  : String = null;
  public var nodeType ;
  prototype public function initialize (name, attributes, children);
}