org.apache.jasper.compiler
public static class Node.TemplateText extends Node
Constructor Summary | |
---|---|
TemplateText(String text, Mark start, Node parent) |
Method Summary | |
---|---|
void | accept(Node.Visitor v) |
void | addSmap(int srcLine)
Add a source to Java line mapping
|
ArrayList | getExtraSmap() |
boolean | isAllSpace()
Returns true if this template text contains whitespace only. |
void | ltrim()
Trim all whitespace from the left of the template text |
void | rtrim()
Trim all whitespace from the right of the template text |
void | setText(String text) |
Parameters: srcLine The postion of the source line, relative to the line at the start of this node. The corresponding java line is assumed to be consecutive, i.e. one more than the last.