Package org.apache.commons.ognl
Class DynamicSubscript
java.lang.Object
org.apache.commons.ognl.DynamicSubscript
This class has predefined instances that stand for OGNL's special "dynamic subscripts" for getting at the first,
middle, or last elements of a list. In OGNL expressions, these subscripts look like special kinds of array indexes:
[^] means the first element, [$] means the last, [|] means the middle, and [*] means the whole list.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DynamicSubscript
static final int
static final DynamicSubscript
static final int
private int
static final DynamicSubscript
static final int
static final DynamicSubscript
static final int
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
FIRST
public static final int FIRST- See Also:
-
MID
public static final int MID- See Also:
-
LAST
public static final int LAST- See Also:
-
ALL
public static final int ALL- See Also:
-
first
-
mid
-
last
-
all
-
flag
private int flag
-
-
Constructor Details
-
DynamicSubscript
private DynamicSubscript(int flag)
-
-
Method Details