org.apache.tapestry.parse
Class TemplateAttribute

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

public class TemplateAttribute
extends Object

An attribute, associated with a OpenToken, taken from a template. Each attribute has a type and a value. The interpretation of the value is based on the type.

Since:
3.0
Version:
$Id: TemplateAttribute.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship

Constructor Summary
TemplateAttribute(AttributeType type, String value)
           
 
Method Summary
 AttributeType getType()
           
 String getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TemplateAttribute

public TemplateAttribute(AttributeType type,
                         String value)
Method Detail

getType

public AttributeType getType()

getValue

public String getValue()

toString

public String toString()
Overrides:
toString in class Object