org.apache.velocity.runtime.directive
Class Directive
java.lang.Object
org.apache.velocity.runtime.directive.Directive
- Cloneable, DirectiveConstants
public abstract class Directive
extends java.lang.Object
Base class for all directives used in Velocity.
$Id: Directive.java,v 1.18.4.1 2004/03/03 23:22:55 geirm Exp $
getColumn
public int getColumn()
for log msg purposes
getLine
public int getLine()
for log msg purposes
getName
public abstract String getName()
Return the name of this directive
getType
public abstract int getType()
Get the directive type BLOCK/LINE
setLocation
public void setLocation(int line,
int column)
Allows the template location to be set
Copyright B) 2002 Apache Software Foundation. All Rights Reserved.