org.apache.tapestry.parse
Class TemplateParser.TemplateTokenFactory
java.lang.Object
org.apache.tapestry.parse.TemplateParser.TemplateTokenFactory
- Enclosing class:
- TemplateParser
protected static class TemplateParser.TemplateTokenFactory
- extends Object
A Factory used by TemplateParser
to create
TemplateToken
objects.
This class is extended by Spindle - the Eclipse Plugin for Tapestry.
- Since:
- 3.0
- Author:
- glongman@intelligentworks.com
Method Summary |
CloseToken |
createCloseToken(String tagName,
ILocation location)
|
LocalizationToken |
createLocalizationToken(String tagName,
String localizationKey,
boolean raw,
Map attributes,
ILocation startLocation)
|
OpenToken |
createOpenToken(String tagName,
String jwcId,
String type,
ILocation location)
|
TextToken |
createTextToken(char[] templateData,
int blockStart,
int end,
ILocation templateLocation)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateParser.TemplateTokenFactory
protected TemplateParser.TemplateTokenFactory()
createOpenToken
public OpenToken createOpenToken(String tagName,
String jwcId,
String type,
ILocation location)
createCloseToken
public CloseToken createCloseToken(String tagName,
ILocation location)
createTextToken
public TextToken createTextToken(char[] templateData,
int blockStart,
int end,
ILocation templateLocation)
createLocalizationToken
public LocalizationToken createLocalizationToken(String tagName,
String localizationKey,
boolean raw,
Map attributes,
ILocation startLocation)