Skip to end of metadata
Go to start of metadata
Note About MVEL Documentation

This is the documentation for MVEL 1.2.x and 1.3.x. If you are using MVEL 2.0, please proceed to the Language Guide for 2.0

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 1.x expressions may consist of:

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

 Contents

  1. Basic Syntax
  2. Operators
  3. Value Tests
  4. Inline List, Maps and Arrays
  5. Property Navigation
  6. Control Flow
  7. Projections and Folds
  8. Assignments
  9. Macros
  10. Interceptors
  11. Typing
  12. 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
  • None