org.apache.tapestry.parse
Class AttributeType

java.lang.Object
  extended by org.apache.commons.lang.enum.Enum
      extended by org.apache.tapestry.parse.AttributeType
All Implemented Interfaces:
Serializable, Comparable

public class AttributeType
extends org.apache.commons.lang.enum.Enum

The type of an TemplateAttribute. New types can be created by modifying TemplateParser to recognize the attribute prefix in compnent tags, and by modifying BaseComponentTemplateLoader to actually do something with the TemplateAttribute, based on type.

Since:
3.0
Version:
$Id: AttributeType.java 243791 2004-02-19 17:38:13Z hlship $
Author:
Howard Lewis Ship
See Also:
Serialized Form

Field Summary
static AttributeType LITERAL
          Indicates the attribute is simple, literal text.
static AttributeType LOCALIZATION_KEY
          Indicates the attribute is a localization key.
static AttributeType OGNL_EXPRESSION
          Indicates the attribute is a OGNL expression.
 
Method Summary
 
Methods inherited from class org.apache.commons.lang.enum.Enum
compareTo, equals, getEnum, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LITERAL

public static final AttributeType LITERAL
Indicates the attribute is simple, literal text. This is the default for any attributes without a recognized prefix.

See Also:
StaticBinding

OGNL_EXPRESSION

public static final AttributeType OGNL_EXPRESSION
Indicates the attribute is a OGNL expression.

See Also:
ExpressionBinding

LOCALIZATION_KEY

public static final AttributeType LOCALIZATION_KEY
Indicates the attribute is a localization key.

See Also:
StringBinding