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

Quick Search    Search Deep

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

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

public class GetFieldNode
extends DefaultNode

This node handles the evaluating of a field expression evaluation. Such as Object.Value.

Version:
0.9

Field Summary
private static org.apache.log4j.Category DBG
          Debugging category
(package private)  Node expr
          Expression which to find the field of
(package private)  IdentNode ident
          Identifier of the field expression
 
Constructor Summary
GetFieldNode(Node expr, IdentNode ident)
          Constructor.
 
Method Summary
 void dump()
          Dump this expression.
 java.lang.Object execute(AspContext context)
          Executes this field expression.
 Node getExpression()
          Expression this object is getting the field of.
 IdentNode getIdent()
          Get the ident.
 
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 final org.apache.log4j.Category DBG
Debugging category


ident

IdentNode ident
Identifier of the field expression


expr

Node expr
Expression which to find the field of

Constructor Detail

GetFieldNode

public GetFieldNode(Node expr,
                    IdentNode ident)
Constructor.

Method Detail

getIdent

public IdentNode getIdent()
Get the ident. TODO: This should be getIdentiifer()


getExpression

public Node getExpression()
Expression this object is getting the field of.


dump

public void dump()
          throws AspException
Dump this expression.

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

execute

public java.lang.Object execute(AspContext context)
                         throws AspException
Executes this field expression.

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