|
Docmosis API 4.5.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public void start()
public void finish()
public void field(TemplateStructureElement field)
field
- the field detailspublic void image(TemplateStructureElement image)
image
- the image detailspublic void templateReference(TemplateStructureElement ref)
ref
- the template reference detailspublic boolean repeatBegin(TemplateStructureElement section, int iterationIdx)
section
- the section detailsiterationIdx
- the index of the iteration of this repeating section
starting at zero
public boolean repeatEnd(TemplateStructureElement section, int iterationIdx)
section
- the section detailsiterationIdx
- the index of the iteration of this repeating section
starting at zero
public void conditionalBegin(TemplateStructureElement section)
section
- the section detailspublic void conditionalEnd(TemplateStructureElement section)
section
- the section details
|
Docmosis API 4.5.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |