| Package | Description |
|---|---|
| org.apache.tapestry.parse |
Classes used when parsing templates, application and component specifications.
|
| Modifier and Type | Class and Description |
|---|---|
class |
CloseToken
Represents the closing tag of a component element in the template.
|
class |
LocalizationToken
Represents localized text from the template.
|
class |
OpenToken
Token representing the open tag for a component.
|
class |
TextToken
Represents static text in the template that may be passed through to the client unchanged
(except, perhaps, for the removal of some whitespace).
|
| Modifier and Type | Method and Description |
|---|---|
TemplateToken |
ComponentTemplate.getToken(int index) |
TemplateToken[] |
ITemplateParser.parse(char[] templateData,
ITemplateParserDelegate delegate,
org.apache.hivemind.Resource resourceLocation)
Parses the template data into an array of
TemplateTokens. |
TemplateToken[] |
TemplateParser.parse(char[] templateData,
ITemplateParserDelegate delegate,
org.apache.hivemind.Resource resourceLocation)
Parses the template data into an array of
TemplateTokens. |
| Constructor and Description |
|---|
ComponentTemplate(char[] templateData,
TemplateToken[] tokens)
Creates a new ComponentTemplate.
|