|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfreemarker.core.TemplateObject
public abstract class TemplateObject
Objects that represent instructions or expressions in the compiled tree representation of the template all descend from this abstract base class.
Constructor Summary | |
---|---|
TemplateObject()
|
Method Summary | |
---|---|
boolean |
contains(int column,
int line)
|
int |
getBeginColumn()
|
int |
getBeginLine()
|
abstract java.lang.String |
getCanonicalForm()
|
int |
getEndColumn()
|
int |
getEndLine()
|
java.lang.String |
getEndLocation()
|
java.lang.String |
getEndLocationQuoted()
Same as getStartLocation() , but quotes the template name with
StringUtil.jQuoteNoXSS(String) . |
java.lang.String |
getSource()
|
java.lang.String |
getStartLocation()
Returns a string that indicates where in the template source, this object is. |
java.lang.String |
getStartLocationQuoted()
Same as getStartLocation() , but quotes the template name with
StringUtil.jQuoteNoXSS(String) . |
Template |
getTemplate()
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public TemplateObject()
Method Detail |
---|
public final int getBeginColumn()
public final int getBeginLine()
public final int getEndColumn()
public final int getEndLine()
public java.lang.String getStartLocation()
public java.lang.String getStartLocationQuoted()
getStartLocation()
, but quotes the template name with
StringUtil.jQuoteNoXSS(String)
. If the template name is unknown,
it uses "input"
as the template name without quotation
marks.
public java.lang.String getEndLocation()
public java.lang.String getEndLocationQuoted()
getStartLocation()
, but quotes the template name with
StringUtil.jQuoteNoXSS(String)
. If the template name is unknown,
it uses "input"
as the template name without quotation
marks.
public final java.lang.String getSource()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean contains(int column, int line)
public Template getTemplate()
public abstract java.lang.String getCanonicalForm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |