Class Builder

java.lang.Object
org.camunda.bpm.impl.juel.Builder
All Implemented Interfaces:
Serializable, TreeBuilder

public class Builder extends Object implements TreeBuilder
Tree builder.
Author:
Christoph Beck
See Also:
  • Field Details

  • Constructor Details

    • Builder

      public Builder()
    • Builder

      public Builder(Builder.Feature... features)
  • Method Details

    • isEnabled

      public boolean isEnabled(Builder.Feature feature)
      Returns:
      true iff the specified feature is supported.
    • build

      public Tree build(String expression) throws TreeBuilderException
      Parse expression.
      Specified by:
      build in interface TreeBuilder
      Parameters:
      expression - expression string
      Returns:
      tree corresponding to the given expression
      Throws:
      TreeBuilderException
    • createParser

      protected Parser createParser(String expression)
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • main

      public static void main(String[] args)
      Dump out abstract syntax tree for a given expression
      Parameters:
      args - array with one element, containing the expression string