java.lang.Object
com.tripi.asp.DefaultNode
com.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 |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
expr
Node expr
- Expression to output
dbgCtx
DebugContext dbgCtx
- Debugging context, location of output node in asp code.
OutputNode
public OutputNode(java.lang.Object expr,
DebugContext dbgCtx)
- Constructor.
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