public static enum TextIndexScopeAttribute.Value extends Enum<TextIndexScopeAttribute.Value>
Modifier and Type | Method and Description |
---|---|
static TextIndexScopeAttribute.Value |
enumValueOf(String value) |
String |
toString() |
static TextIndexScopeAttribute.Value |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextIndexScopeAttribute.Value[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextIndexScopeAttribute.Value CHAPTER
public static final TextIndexScopeAttribute.Value DOCUMENT
public static TextIndexScopeAttribute.Value[] values()
for (TextIndexScopeAttribute.Value c : TextIndexScopeAttribute.Value.values()) System.out.println(c);
public static TextIndexScopeAttribute.Value 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 String toString()
toString
in class Enum<TextIndexScopeAttribute.Value>
public static TextIndexScopeAttribute.Value enumValueOf(String value)
Copyright © 2008-2013 The Apache Software Foundation. All Rights Reserved.