org.webmacro.engine
Class BlockBuilder
java.lang.Object
org.webmacro.engine.BlockBuilder
- All Implemented Interfaces:
- Builder
- Direct Known Subclasses:
- ParserBlockBuilder
- public class BlockBuilder
- extends java.lang.Object
- implements Builder
A block represents the text between two {}'s in a template, or else
the text that begins at the start of the template and runs until its
end ({}'s around the whole document are not required). It contains
all of the other directives, strings, etc. that can be in a template.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockBuilder
public BlockBuilder()
BlockBuilder
public BlockBuilder(java.lang.String name)
build
public final java.lang.Object build(BuildContext bc)
throws BuildException
- Specified by:
build
in interface Builder
- Throws:
BuildException
addElement
public void addElement(java.lang.Object o)
addElement
public void addElement(java.lang.Object o,
int lineNo,
int colNo)
size
public int size()
remove
public void remove(int i)
elementAt
public java.lang.Object elementAt(int i)
setElementAt
public java.lang.Object setElementAt(java.lang.Object o,
int i)
Copyright © 1999-2006 WebMacro. All Rights Reserved.