public abstract class TemplateObject extends Object
Expression
or a
TemplateElement
).TemplateElement
,
Expression
Constructor and Description |
---|
TemplateObject()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(int column,
int line)
Deprecated.
|
int |
getBeginColumn()
Deprecated.
|
int |
getBeginLine()
Deprecated.
|
abstract String |
getCanonicalForm()
Deprecated.
FTL generated from the AST of the node, which must be parseable to an AST that does the same as the original
source, assuming we turn off automatic white-space removal when parsing the canonical form.
|
int |
getEndColumn()
Deprecated.
|
int |
getEndLine()
Deprecated.
|
String |
getEndLocation()
Deprecated.
|
String |
getEndLocationQuoted()
Deprecated.
As of 2.3.20.
|
String |
getSource()
Deprecated.
|
String |
getStartLocation()
Deprecated.
Returns a string that indicates
where in the template source, this object is.
|
String |
getStartLocationQuoted()
Deprecated.
As of 2.3.20.
|
Template |
getTemplate()
Deprecated.
This method will be removed in FreeMarker 2.4 because of architectural changes!
|
String |
toString()
Deprecated.
|
public final int getBeginColumn()
public final int getBeginLine()
public final int getEndColumn()
public final int getEndLine()
public String getStartLocation()
public String getStartLocationQuoted()
getStartLocation()
. Meant to be used where there's a risk of XSS
when viewing error messages.public String getEndLocation()
public String getEndLocationQuoted()
getEndLocation()
. Meant to be used where there's a risk of XSS
when viewing error messages.public final String getSource()
public boolean contains(int column, int line)
public Template getTemplate()
public abstract String getCanonicalForm()
Copyright © 2016. All Rights Reserved.