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.
Version:
- Jason van Zyl
getColumn
public int getColumn()
for log msg purposes
getLine
public int getLine()
for log msg purposes
getName
public String getName()
Return the name of this directive
getType
public int getType()
Get the directive type BLOCK/LINE
setLocation
public void setLocation(int line,
int column)
Allows the template location to be set
Copyright © 2003 Apache Software Foundation. All Rights Reserved.