|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Service interface for the tapestry.TemplateParser
service.
Note that this requires a threaded service model.
Note: had to use the 'I' prefix, so that TemplateParser
could keep its name. Otherwise, it makes Spindle support really, really ugly.
Method Summary | |
TemplateToken[] |
parse(char[] templateData,
ITemplateParserDelegate delegate,
org.apache.hivemind.Resource resourceLocation)
Parses the template data into an array of TemplateToken s. |
Method Detail |
public TemplateToken[] parse(char[] templateData, ITemplateParserDelegate delegate, org.apache.hivemind.Resource resourceLocation) throws TemplateParseException
TemplateToken
s.
The parser is decidedly not threadsafe, so care should be taken that only a single thread accesses it.
templateData
- the HTML template to parse. Some tokens will hold
a reference to this array.delegate
- object that "knows" about defined componentsresourceLocation
- a description of where the template originated from,
used with error messages.
TemplateParseException
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |