org.apache.tapestry.parse
Class AttributeType
java.lang.Object
|
+--org.apache.commons.lang.enum.Enum
|
+--org.apache.tapestry.parse.AttributeType
- All Implemented Interfaces:
- Comparable, Serializable
- 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,v 1.3 2003/04/17 21:33:48 hlship Exp $
- Author:
- Howard Lewis Ship
- See Also:
- Serialized Form
Methods inherited from class org.apache.commons.lang.enum.Enum |
compareTo, equals, getEnum, getEnumList, getEnumMap, getName, hashCode, iterator, readResolve, toString |
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