org.apache.tiles
public static enum Attribute.AttributeType extends java.lang.Enum<Attribute.AttributeType>
Enum Constant and Description |
---|
DEFINITION
Deprecated.
Attribute of type definition.
|
OBJECT
Deprecated.
Attribute of type object.
|
STRING
Deprecated.
Attribute of type string.
|
TEMPLATE
Deprecated.
Attribute of type template.
|
Modifier and Type | Method and Description |
---|---|
static Attribute.AttributeType |
getType(java.lang.String stringRepresentation)
Deprecated.
Returns the type for the given string representation.
|
java.lang.String |
toString()
Deprecated.
Returns the string representation of the element.
|
static Attribute.AttributeType |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static Attribute.AttributeType[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Attribute.AttributeType STRING
public static final Attribute.AttributeType DEFINITION
public static final Attribute.AttributeType TEMPLATE
public static final Attribute.AttributeType OBJECT
public static Attribute.AttributeType[] values()
for (Attribute.AttributeType c : Attribute.AttributeType.values()) System.out.println(c);
public static Attribute.AttributeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static Attribute.AttributeType getType(java.lang.String stringRepresentation)
stringRepresentation
- The string representation of the needed
type.null
if not.public java.lang.String toString()
toString
in class java.lang.Enum<Attribute.AttributeType>