|
||||||||||
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 String |
getCanonicalForm()
|
int |
getEndColumn()
|
int |
getEndLine()
|
String |
getEndLocation()
|
String |
getEndLocationQuoted()
Same as getStartLocation() , but quotes the template name with
StringUtil.jQuoteNoXSS(String) . |
String |
getSource()
|
String |
getStartLocation()
Returns a string that indicates where in the template source, this object is. |
String |
getStartLocationQuoted()
Same as getStartLocation() , but quotes the template name with
StringUtil.jQuoteNoXSS(String) . |
Template |
getTemplate()
|
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 String getStartLocation()
public 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 String getEndLocation()
public 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 String getSource()
public String toString()
toString
in class Object
public boolean contains(int column, int line)
public Template getTemplate()
public abstract String getCanonicalForm()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |