freemarker.core
Class TemplateObject
java.lang.Object
freemarker.core.TemplateObject
public abstract class TemplateObject
extends java.lang.Object
Objects that represent instructions or expressions
in the compiled tree representation of the template
all descend from this abstract base class.
contains
public boolean contains(int column,
int line)
- whether the point in the template file specified by the
column and line numbers is contained within this template object.
getBeginColumn
public final int getBeginColumn()
getBeginLine
public final int getBeginLine()
getCanonicalForm
public abstract String getCanonicalForm()
getEndColumn
public final int getEndColumn()
getEndLine
public final int getEndLine()
getEndLocation
public String getEndLocation()
getSource
public final String getSource()
getStartLocation
public String getStartLocation()
Returns a string that indicates
where in the template source, this object is.
getTemplate
public Template getTemplate()
toString
public String toString()