org.apache.cocoon.sitemap.xml
Enum AttributeTypes

java.lang.Object
  extended by java.lang.Enum<AttributeTypes>
      extended by 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 $

Enum Constant Summary
CDATA
           
ENTITIES
           
ENTITY
           
ID
           
IDREF
           
IDREFS
           
NAME
           
NAMES
           
NMTOKEN
           
NMTOKENS
           
NOTATION
           
NUMBER
           
NUMBERS
           
NUTOKEN
           
NUTOKENS
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.