freemarker.core
public abstract class TemplateObject extends Object
Constructor and Description |
---|
TemplateObject() |
Modifier and Type | Method and Description |
---|---|
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() |
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 boolean contains(int column, int line)
public Template getTemplate()
public abstract String getCanonicalForm()