public enum CallMode extends Enum<CallMode>
Enum Constant and Description |
---|
BOTH
Call both at the start and end of the element.
|
BOTHREAD
Call both at the start and end of the element and read the content.
|
ENDONLY
Only call at the end of the element.
|
ENDONLYREAD
Only call at the end of the element and read the content.
|
NOCALL
No call will be made, probably useless: why would we create a callDescription for it?
|
STARTONLY
Only call at the start of the element.
|
Modifier and Type | Field and Description |
---|---|
boolean |
atEnd |
boolean |
atStart |
boolean |
readContent |
Modifier and Type | Method and Description |
---|---|
static CallMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CallMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CallMode NOCALL
public static final CallMode STARTONLY
public static final CallMode ENDONLY
public static final CallMode ENDONLYREAD
public static final CallMode BOTH
public static final CallMode BOTHREAD
public final boolean atStart
public final boolean atEnd
public final boolean readContent
public static CallMode[] values()
for (CallMode c : CallMode.values()) System.out.println(c);
public static CallMode 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 nullCopyright © 2005–2020. All rights reserved.