|
|||||||||
| Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.tripi.asp
Class BlockNode

java.lang.Objectcom.tripi.asp.BlockNode
- All Implemented Interfaces:
- Node
- public class BlockNode
- extends java.lang.Object
- implements Node
- extends java.lang.Object
BlockNode contains a block of ASP code, one or more lines of code.
- Version:
- 0.9
| Field Summary | |
(package private) java.util.Vector |
blocks
List of blocks |
private org.apache.log4j.Category |
DBG
Debugging code |
(package private) java.util.Vector |
linenos
List of debugging contexts corresponding to blocks |
| Constructor Summary | |
BlockNode()
Constructor, starting with no lines of code. |
|
| Method Summary | |
void |
append(java.lang.Object obj,
DebugContext lineno)
Appends a line of code with the debugging context. |
void |
dump()
Dumps the contents of this block. |
java.lang.Object |
execute(AspContext context)
Executes this block of code. |
Node |
getBlock(int index)
Gets the block at the specified index. |
void |
prepare(AspContext context)
Prepares this node for execution. |
int |
size()
Obtains the number of blocks in this object. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
DBG
private org.apache.log4j.Category DBG
- Debugging code
blocks
java.util.Vector blocks
- List of blocks
linenos
java.util.Vector linenos
- List of debugging contexts corresponding to blocks
| Constructor Detail |
BlockNode
public BlockNode()
- Constructor, starting with no lines of code.
| Method Detail |
size
public int size()
- Obtains the number of blocks in this object.
getBlock
public Node getBlock(int index)
- Gets the block at the specified index.
append
public void append(java.lang.Object obj, DebugContext lineno)
- Appends a line of code with the debugging context.
dump
public void dump()
throws AspException
prepare
public void prepare(AspContext context) throws AspException
execute
public java.lang.Object execute(AspContext context) throws AspException
|
|||||||||
| Home >> All >> com >> tripi >> [ asp overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
com.tripi.asp.BlockNode