public interface TemplateElement
template document
.TemplateDocument
Modifier and Type | Method and Description |
---|---|
TemplateElement |
getChildAt(int index) |
int |
getChildCount() |
int |
getSourceColumn()
First column is at index 1.
|
int |
getSourceLine()
First line is at index 1.
|
void |
insertChild(int index,
Printable newChild)
Insert a child node at the specified index.
|
boolean |
isEmpty() |
void |
printSource(PrintWriter out)
Print the source of this template fragment to
out - used for logging of error conditions |
void |
removeChild(int index)
Removes the child node at the specified index.
|
int getSourceLine()
int getSourceColumn()
void printSource(PrintWriter out)
out
- used for logging of error conditionsout
- the print writer where the output is send tovoid insertChild(int index, Printable newChild)
index
- Index to add element at.newChild
- Child to add.void removeChild(int index)
index
- Index to remove element at.newChild
- Child to add.int getChildCount()
TemplateElement getChildAt(int index)
boolean isEmpty()
Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408