public static enum Attribute.AttributeType extends 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(String stringRepresentation)
Deprecated.
Returns the type for the given string representation.
|
String |
toString()
Deprecated.
Returns the string representation of the element.
|
static Attribute.AttributeType |
valueOf(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static Attribute.AttributeType getType(String stringRepresentation)
stringRepresentation
- The string representation of the needed
type.null
if not.public String toString()
toString
in class Enum<Attribute.AttributeType>
Copyright © 2017. All rights reserved.