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

Quick Search    Search Deep

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

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

public class OutputNode
extends DefaultNode

OutputNode handles the ASP notation <%= value %> to directly output an expression's value.

Version:
0.9

Field Summary
(package private)  DebugContext dbgCtx
          Debugging context, location of output node in asp code.
(package private)  Node expr
          Expression to output
 
Constructor Summary
OutputNode(java.lang.Object expr, DebugContext dbgCtx)
          Constructor.
 
Method Summary
 void dump()
          Dumps the representation of this node.
 java.lang.Object execute(AspContext context)
          Executes this output node.
 
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

expr

Node expr
Expression to output


dbgCtx

DebugContext dbgCtx
Debugging context, location of output node in asp code.

Constructor Detail

OutputNode

public OutputNode(java.lang.Object expr,
                  DebugContext dbgCtx)
Constructor.

Method Detail

dump

public void dump()
          throws AspException
Dumps the representation of 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 output node.

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