Class BeCPGSpelExpressionParser

java.lang.Object
org.springframework.expression.common.TemplateAwareExpressionParser
org.springframework.expression.spel.standard.SpelExpressionParser
fr.becpg.repo.formulation.spel.BeCPGSpelExpressionParser
All Implemented Interfaces:
org.springframework.expression.ExpressionParser

public class BeCPGSpelExpressionParser extends org.springframework.expression.spel.standard.SpelExpressionParser

BeCPGSpelExpressionParser class.

Author:
matthieu
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static final Set<String>
    Constant FORBIDDEN_FIELDS
    private static final Set<String>
    Constant FORBIDDEN_METHODS
    private static final org.apache.commons.logging.Log
    Constant logger
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructor for BeCPGSpelExpressionParser.
    BeCPGSpelExpressionParser(org.springframework.expression.spel.SpelParserConfiguration config)
    Constructor for BeCPGSpelExpressionParser.
  • Method Summary

    Modifier and Type
    Method
    Description
    private void
    checkAst(org.springframework.expression.spel.SpelNode root)
    checkAst.
    org.springframework.expression.Expression
    parseExpression(String expressionString)
    org.springframework.expression.Expression
    parseExpression(String expressionString, org.springframework.expression.ParserContext context)

    Methods inherited from class org.springframework.expression.spel.standard.SpelExpressionParser

    doParseExpression, parseRaw

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • logger

      private static final org.apache.commons.logging.Log logger
      Constant logger
    • FORBIDDEN_METHODS

      private static final Set<String> FORBIDDEN_METHODS
      Constant FORBIDDEN_METHODS
    • FORBIDDEN_FIELDS

      private static final Set<String> FORBIDDEN_FIELDS
      Constant FORBIDDEN_FIELDS
  • Constructor Details

    • BeCPGSpelExpressionParser

      public BeCPGSpelExpressionParser()

      Constructor for BeCPGSpelExpressionParser.

    • BeCPGSpelExpressionParser

      public BeCPGSpelExpressionParser(org.springframework.expression.spel.SpelParserConfiguration config)

      Constructor for BeCPGSpelExpressionParser.

      Parameters:
      config - a SpelParserConfiguration object
  • Method Details

    • parseExpression

      public org.springframework.expression.Expression parseExpression(String expressionString) throws org.springframework.expression.ParseException
      Specified by:
      parseExpression in interface org.springframework.expression.ExpressionParser
      Overrides:
      parseExpression in class org.springframework.expression.common.TemplateAwareExpressionParser
      Throws:
      org.springframework.expression.ParseException
    • parseExpression

      public org.springframework.expression.Expression parseExpression(String expressionString, org.springframework.expression.ParserContext context) throws org.springframework.expression.ParseException
      Specified by:
      parseExpression in interface org.springframework.expression.ExpressionParser
      Overrides:
      parseExpression in class org.springframework.expression.common.TemplateAwareExpressionParser
      Throws:
      org.springframework.expression.ParseException
    • checkAst

      private void checkAst(org.springframework.expression.spel.SpelNode root)

      checkAst.

      Parameters:
      root - a SpelNode object