|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Chunk
A chunk is a piece of a compiled template.
| Method Summary | |
|---|---|
int |
getColumn()
Returns the column where this chunk is located in the source of the template. |
int |
getLine()
Returns the line where this chunk is located in the source of the template. |
TemplateLocator |
getLocator()
Returns the template locator of the template this chunk belongs to |
boolean |
isEssential()
Returns true if the chunk is essential, false otherwise. |
boolean |
isVisible()
Returns true if the chunk is visible, false otherwise. |
void |
render(BuildContext context,
java.io.Writer writer)
Renders the chunk to the specified writer using the specified template context. |
java.lang.String |
toString()
Returns a meaningful representation of this chunk |
| Method Detail |
|---|
TemplateLocator getLocator()
int getLine()
int getColumn()
boolean isVisible()
boolean isEssential()
void render(BuildContext context,
java.io.Writer writer)
throws TemplateException,
java.io.IOException
context - the contextwriter - the writer
TemplateException - on occasion
java.io.IOException - on occasionjava.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||