Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.tripi.asp
Class DefineIdentArrayNode  view DefineIdentArrayNode download DefineIdentArrayNode.java

java.lang.Object
  extended bycom.tripi.asp.DefaultNode
      extended bycom.tripi.asp.DefineIdentArrayNode
All Implemented Interfaces:
Node

public class DefineIdentArrayNode
extends DefaultNode

This node implements the defining of an array, DIM ident(length)

Version:
0.9

Field Summary
private static org.apache.log4j.Category DBG
          Debugging class
(package private)  VarListNode dimensions
          List of dimension sizes
(package private)  IdentNode ident
          Name of this identifier
 
Constructor Summary
DefineIdentArrayNode(IdentNode ident, VarListNode dimensions)
          Constructor.
 
Method Summary
private  ArrayNode createArray(java.util.List vl, int index)
          This function handles the actual creation of an array.
 void dump()
          Dumps this node.
 java.lang.Object execute(AspContext context)
          Executes this node, defining the ident.
 VarListNode getDimensionList()
          Get the list of dimensions this define array is defining
 IdentNode getIdent()
          Get the ident this define array is defining.
 
Methods inherited from class com.tripi.asp.DefaultNode
prepare
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DBG

private static org.apache.log4j.Category DBG
Debugging class


ident

IdentNode ident
Name of this identifier


dimensions

VarListNode dimensions
List of dimension sizes

Constructor Detail

DefineIdentArrayNode

public DefineIdentArrayNode(IdentNode ident,
                            VarListNode dimensions)
Constructor.

Method Detail

getIdent

public IdentNode getIdent()
Get the ident this define array is defining.


getDimensionList

public VarListNode getDimensionList()
Get the list of dimensions this define array is defining


dump

public void dump()
          throws AspException
Dumps this node.

Specified by:
dump in interface Node
Overrides:
dump in class DefaultNode

execute

public java.lang.Object execute(AspContext context)
                         throws AspException
Executes this node, defining the ident.

Specified by:
execute in interface Node
Overrides:
execute in class DefaultNode

createArray

private ArrayNode createArray(java.util.List vl,
                              int index)
This function handles the actual creation of an array. Internal function.