OGNL Language Guide
OGNL Language Guide
Drew
Davidson
Copyright © 2004 OGNL Technology, Inc.
Table of Contents
1. Introduction
2. History
3. Syntax
4. Expressions
Constants
Referring to Properties
Indexing
Array and List Indexing
JavaBeans Indexed Properties
OGNL Object Indexed Properties
Calling Methods
Variable References
Parenthetical Expressions
Chained Subexpressions
Collection Construction
Lists
Native Arrays
Maps
Projecting Across Collections
Selecting From Collections
Selecting First Match
Selecting Last Match
Calling Constructors
Calling Static Methods
Getting Static Fields
Expression Evaluation
Pseudo-Lambda Expressions
Pseudo-Properties for Collections
Operators that differ from Java's operators
Setting values versus getting values
5. Coercing Objects to Types
Interpreting Objects as Booleans
Interpreting Objects as Numbers
Interpreting Objects as Integers
Interpreting Objects as Collections
A.
OGNL
Language Reference
Operators
List of Tables
3.1.
OGNL
Expression Parts
4.1.
Special Collections Pseudo-Properties
A.1.
OGNL
Operators