pl.edu.icm.yadda.bwmeta.doc
Enum ElementType.Kind
java.lang.Object
java.lang.Enum<ElementType.Kind>
pl.edu.icm.yadda.bwmeta.doc.ElementType.Kind
- All Implemented Interfaces:
- Serializable, Comparable<ElementType.Kind>
- Enclosing class:
- ElementType
public static enum ElementType.Kind
- extends Enum<ElementType.Kind>
All
public static final ElementType.Kind All
Choice
public static final ElementType.Kind Choice
Sequence
public static final ElementType.Kind Sequence
Element
public static final ElementType.Kind Element
Simple
public static final ElementType.Kind Simple
values
public static ElementType.Kind[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (ElementType.Kind c : ElementType.Kind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ElementType.Kind 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
NullPointerException
- if the argument is null
Copyright © 2002-2012 ICM, Warsaw University. All Rights Reserved.