public interface TemplatePrinter
TemplatePrinter
interface is used to create data printers for templates.Modifier and Type | Method and Description |
---|---|
void |
addAlignedText(java.lang.String addText)
Adds the aligned (in accordance of the text structure) text to template file.
|
void |
addComment(java.lang.String addComment)
Adds the comment to template file.
|
void |
addDataRegion()
Adds the data region to template file.
|
void |
addHeader()
Adds a header to template file.
|
void |
addOperation(java.lang.String opName,
java.lang.String opArguments)
Adds the operation to template file.
|
void |
addString(java.lang.String addString)
Adds the string to template file.
|
void |
addText(java.lang.String addText)
Adds the text to template file.
|
void |
closeBlock()
Closes the block in template file.
|
void |
closeSequence(java.lang.String sequenceEnd)
Closes the sequence in template file.
|
java.lang.String |
formattingOperation(java.lang.String operationName)
Checks for a match with the keywords and returns not a keyword for the printer with the same
value.
|
java.lang.String |
getDataLabel()
Returns the data region label of the template file.
|
void |
startBlock()
Opens the block in template file.
|
void |
startSequence(java.lang.String sequenceTitle)
Opens the sequence in template file.
|
void |
templateBegin()
Adds a title to template file.
|
void |
templateClose()
Closes the template file.
|
void |
templateEnd()
Adds end title for template.
|
void templateBegin()
void addHeader()
void addDataRegion()
java.lang.String getDataLabel()
java.lang.String formattingOperation(java.lang.String operationName)
operationName
- name of the operation.void addOperation(java.lang.String opName, java.lang.String opArguments)
opName
- Operation name.opArguments
- Operation arguments.void addString(java.lang.String addString)
addString
- string.void addText(java.lang.String addText)
addText
- text.void addAlignedText(java.lang.String addText)
addText
- text.void addComment(java.lang.String addComment)
addComment
- text.void startSequence(java.lang.String sequenceTitle)
sequenceTitle
- sequence title.void closeSequence(java.lang.String sequenceEnd)
sequenceEnd
- sequence end title.void templateEnd()
void templateClose()
void startBlock()
void closeBlock()