|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PastEndAction>
net.sf.jett.model.PastEndAction
public enum PastEndAction
A PastEndAction enumerated value specifies a possible action
when dealing with expressions that reference collection items beyond the end
of the iteration. This comes up when a MultiForEachTag is
operating on collections of different sizes, and one collection has run out
of values before another collection.
If such an expression were written in Java code, it would result in an
IndexOutOfBoundsException. Each enumerated value specifies a
way of handling this condition.
| Enum Constant Summary | |
|---|---|
CLEAR_CELL
Specifies that any Cell containing an expression that
references a collection item beyond the end of the iteration should
result in the entire Cell being blanked out. |
|
REMOVE_CELL
Specifies that any Cell containing an expression that
references a collection item beyond the end of the iteration should
result in the entire Cell being removed, formatting and all. |
|
| Method Summary | |
|---|---|
static PastEndAction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PastEndAction[] |
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 |
|---|
public static final PastEndAction CLEAR_CELL
Cell containing an expression that
references a collection item beyond the end of the iteration should
result in the entire Cell being blanked out.
public static final PastEndAction REMOVE_CELL
Cell containing an expression that
references a collection item beyond the end of the iteration should
result in the entire Cell being removed, formatting and all.
| Method Detail |
|---|
public static final PastEndAction[] values()
for(PastEndAction c : PastEndAction.values())
System.out.println(c);
public static PastEndAction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||