de.fraunhofer.ipsi.xquery.enums
Enum SequenceTypeEnum
java.lang.Object
java.lang.Enum<SequenceTypeEnum>
de.fraunhofer.ipsi.xquery.enums.SequenceTypeEnum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<SequenceTypeEnum>
public enum SequenceTypeEnum
- extends java.lang.Enum<SequenceTypeEnum>
Method Summary |
static SequenceTypeEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SequenceTypeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they're declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
voidd
public static final SequenceTypeEnum voidd
item
public static final SequenceTypeEnum item
atomic
public static final SequenceTypeEnum atomic
document
public static final SequenceTypeEnum document
element
public static final SequenceTypeEnum element
schema_element
public static final SequenceTypeEnum schema_element
attribute
public static final SequenceTypeEnum attribute
schema_attribute
public static final SequenceTypeEnum schema_attribute
processing_instruction
public static final SequenceTypeEnum processing_instruction
comment
public static final SequenceTypeEnum comment
text
public static final SequenceTypeEnum text
node
public static final SequenceTypeEnum node
values
public static final SequenceTypeEnum[] 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(SequenceTypeEnum c : SequenceTypeEnum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared
valueOf
public static SequenceTypeEnum valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name