Interface TreeBuilder

All Superinterfaces:
Serializable
All Known Implementing Classes:
Builder

public interface TreeBuilder extends Serializable
Tree builder interface. A tree builder can be used to create arbitrary many trees. Furthermore, a tree builder implementation must be thread-safe.
Author:
Christoph Beck
  • Method Summary

    Modifier and Type
    Method
    Description
    build(String expression)
    Parse the given expression and create an abstract syntax tree for it.
  • Method Details

    • build

      Tree build(String expression) throws TreeBuilderException
      Parse the given expression and create an abstract syntax tree for it.
      Parameters:
      expression - expression string
      Returns:
      tree corresponding to the given expression
      Throws:
      jakarta.el.ELException - on parse error
      TreeBuilderException