org.apache.velocity.runtime.directive
public abstract class Directive extends Object implements DirectiveConstants, Cloneable
Version: $Id: Directive.java,v 1.18.4.1 2004/03/03 23:22:55 geirm Exp $
Field Summary | |
---|---|
int | column |
int | line |
protected RuntimeServices | rsvc |
Method Summary | |
---|---|
int | getColumn() for log msg purposes |
int | getLine() for log msg purposes |
abstract String | getName() Return the name of this directive |
abstract int | getType() Get the directive type BLOCK/LINE |
void | init(RuntimeServices rs, InternalContextAdapter context, Node node)
How this directive is to be initialized. |
abstract boolean | render(InternalContextAdapter context, Writer writer, Node node)
How this directive is to be rendered |
void | setLocation(int line, int column) Allows the template location to be set |