Skip to end of metadata
Go to start of metadata

MVEL has largely been inspired by Java syntax, but has some fundamental differences aimed at making it more efficient as an expression language, such as operators that directly support collection, array and string matching, as well as regular expressions.

In addition to the expression language, MVEL serves as a templating language for configuration and string construction.

MVEL 2.x expressions may consist of:

  • Property expressions
  • Boolean expressions
  • Method invocations
  • Variable assignments
  • Function definitions

 Contents

  1. Basic Syntax
  2. Operators
  3. Value Tests
  4. Inline List, Maps and Arrays
  5. Property Navigation
  6. Literal Values
  7. Type Literals
  8. Control Flow
  9. Projections and Folds
  10. Assignments
  11. Function Definition
  12. Lambda Expressions
  13. Macros
  14. Interceptors
  15. Typing
  16. Shell
  17. Language FAQ

 Extras

  1. Sample Scripts

Still Stuck? CoreConfidenceTests is a good place to look for examples on all of MVEL's language capabilities.

Labels: