org.apache.tapestry.parse
Class TemplateTokenFactory

java.lang.Object
  extended by org.apache.tapestry.parse.TemplateTokenFactory

public class 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

Constructor Summary
TemplateTokenFactory()
           
 
Method Summary
 CloseToken createCloseToken(String tagName, org.apache.hivemind.Location location)
           
 LocalizationToken createLocalizationToken(String tagName, String localizationKey, boolean raw, Map attributes, org.apache.hivemind.Location startLocation)
           
 OpenToken createOpenToken(String tagName, String jwcId, String type, org.apache.hivemind.Location location)
           
 TextToken createTextToken(char[] templateData, int blockStart, int end, org.apache.hivemind.Location templateLocation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TemplateTokenFactory

public TemplateTokenFactory()
Method Detail

createOpenToken

public OpenToken createOpenToken(String tagName,
                                 String jwcId,
                                 String type,
                                 org.apache.hivemind.Location location)

createCloseToken

public CloseToken createCloseToken(String tagName,
                                   org.apache.hivemind.Location location)

createTextToken

public TextToken createTextToken(char[] templateData,
                                 int blockStart,
                                 int end,
                                 org.apache.hivemind.Location templateLocation)

createLocalizationToken

public LocalizationToken createLocalizationToken(String tagName,
                                                 String localizationKey,
                                                 boolean raw,
                                                 Map attributes,
                                                 org.apache.hivemind.Location startLocation)


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.