Package ognl

Interface JavaSource

    • Method Detail

      • toGetSourceString

        java.lang.String toGetSourceString​(OgnlContext context,
                                           java.lang.Object target)
        Expected to return a java source representation of itself such that it could be turned into a literal java expression to be compiled and executed for ExpressionAccessor.get(OgnlContext, Object) calls.
        Returns:
        Literal java string representation of an object get.
      • toSetSourceString

        java.lang.String toSetSourceString​(OgnlContext context,
                                           java.lang.Object target)
        Expected to return a java source representation of itself such that it could be turned into a literal java expression to be compiled and executed for ExpressionAccessor.get(OgnlContext, Object) calls.
        Returns:
        Literal java string representation of an object get.