public abstract class TemplateObject
extends java.lang.Object
Constructor and Description |
---|
TemplateObject() |
Modifier and Type | Method and Description |
---|---|
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() |
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()