|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Process a template element: text, script, expression, directive, etc. Places content in appropriate section. Implementation contract: any constructors expect non null arguments. TO BE REPLACED.
| Field Summary |
| Fields inherited from interface org.jostraca.TemplateElementProcessor |
ELEMENT_TYPE_directive, ELEMENT_TYPE_expression, ELEMENT_TYPE_none, ELEMENT_TYPE_script, ELEMENT_TYPE_text |
| Method Summary | |
java.lang.String |
getContent()
Return content of template element. |
boolean |
isMatch(Block pBlock)
Determine if content matches this type of element. |
boolean |
process(Block pBlock)
Process parsed template block (text or script). |
| Methods inherited from interface org.jostraca.TemplateElementProcessor |
getUnitList |
| Method Detail |
public boolean isMatch(Block pBlock)
throws TemplateElementProcessorException
pBlock - Block to test
TemplateElementProcessorException
public boolean process(Block pBlock)
throws StandardException
process in interface TemplateElementProcessorpBlock - Block to process.
StandardExceptionpublic java.lang.String getContent()
getContent in interface TemplateElementProcessor
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||