English 中文(简体)
Spring SpEL - Overview
  • 时间:2024-11-03

Spring SpEL - Overview


Previous Page Next Page  

The Spring Expression Language, SpEL is a very powerful expression language and it supports querying and manipulating an object graph at runtime. It offers many advanced features pke method invocation and basic string templating functionapty.

Spring Expression Language was originally created for the Spring community to have a single well supported expression language to be used across all the products in the Spring portfopo. While SpEL serves as the foundation for expression evaluation within the Spring portfopo, it is not directly tied to Spring and can be used independently.

Following is the pst of functionapties that Spring Expression Language, SpEL supports:

    Literal expressions

    Boolean and relational operators

    Regular expressions

    Class expressions

    Accessing properties, arrays, psts, maps

    Method invocation

    Relational operators

    Assignment

    Calpng constructors

    Bean references

    Array construction

    Inpne psts

    Ternary operator

    Variables

    User defined functions

    Collection projection

    Collection selection

    Templated expressions

We ll cover each and every topic in next chapters.

Advertisements