org.apache.cocoon.sitemap.xml
Enum AttributeTypes
java.lang.Object
java.lang.Enum<AttributeTypes>
org.apache.cocoon.sitemap.xml.AttributeTypes
- All Implemented Interfaces:
- Serializable, Comparable<AttributeTypes>
public enum AttributeTypes
- extends Enum<AttributeTypes>
Insert the type's description here.
- Version:
- $Id: AttributeTypes.java 696953 2008-09-19 07:19:44Z reinhard $
Method Summary |
static AttributeTypes |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AttributeTypes[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
CDATA
public static final AttributeTypes CDATA
ENTITY
public static final AttributeTypes ENTITY
ENTITIES
public static final AttributeTypes ENTITIES
ID
public static final AttributeTypes ID
IDREF
public static final AttributeTypes IDREF
IDREFS
public static final AttributeTypes IDREFS
NAME
public static final AttributeTypes NAME
NAMES
public static final AttributeTypes NAMES
NMTOKEN
public static final AttributeTypes NMTOKEN
NMTOKENS
public static final AttributeTypes NMTOKENS
NOTATION
public static final AttributeTypes NOTATION
NUMBER
public static final AttributeTypes NUMBER
NUMBERS
public static final AttributeTypes NUMBERS
NUTOKEN
public static final AttributeTypes NUTOKEN
NUTOKENS
public static final AttributeTypes NUTOKENS
values
public static final AttributeTypes[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(AttributeTypes c : AttributeTypes.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static AttributeTypes valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
Copyright © 2008 The Apache Software Foundation. All Rights Reserved.