|
Docmosis API 4.9.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TemplateStructureProcessor
This interface defines a processor that can be used by the
TemplateStructureExtractor to analyse a template. The TemplateStructureExtractor
will call the start() method, a sequence of the other methods based on what is
found in the template, then the finish() method.
| Method Summary | |
|---|---|
void |
conditionalBegin(TemplateStructureElement section)
Process the start of a conditional section |
void |
conditionalEnd(TemplateStructureElement section)
Process the end of a conditional section |
void |
field(TemplateStructureElement field)
Process a template field. |
void |
finish()
Perform processing for the end of the template structure. |
void |
image(TemplateStructureElement image)
Process a template image |
boolean |
repeatBegin(TemplateStructureElement section,
int iterationIdx)
Process the start of a repeating section. |
boolean |
repeatEnd(TemplateStructureElement section,
int iterationIdx)
Process the end of a repeating section |
void |
start()
Perform processing for the beginning of the template structure. |
void |
templateReference(TemplateStructureElement ref)
Process a reference to another template |
| Method Detail |
|---|
void start()
void finish()
void field(TemplateStructureElement field)
field - the field detailsvoid image(TemplateStructureElement image)
image - the image detailsvoid templateReference(TemplateStructureElement ref)
ref - the template reference details
boolean repeatBegin(TemplateStructureElement section,
int iterationIdx)
section - the section detailsiterationIdx - the index of the iteration of this repeating section
starting at zero
boolean repeatEnd(TemplateStructureElement section,
int iterationIdx)
section - the section detailsiterationIdx - the index of the iteration of this repeating section
starting at zero
void conditionalBegin(TemplateStructureElement section)
section - the section detailsvoid conditionalEnd(TemplateStructureElement section)
section - the section details
|
Docmosis API 4.9.0 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||