Package ognl

Class ASTThisVarRef

    • Constructor Detail

      • ASTThisVarRef

        public ASTThisVarRef​(int id)
      • ASTThisVarRef

        public ASTThisVarRef​(OgnlParser p,
                             int id)
    • Method Detail

      • getValueBody

        protected java.lang.Object getValueBody​(OgnlContext context,
                                                java.lang.Object source)
                                         throws OgnlException
        Description copied from class: SimpleNode
        Subclasses implement this method to do the actual work of extracting the appropriate value from the source object.
        Overrides:
        getValueBody in class ASTVarRef
        Throws:
        OgnlException
      • setValueBody

        protected void setValueBody​(OgnlContext context,
                                    java.lang.Object target,
                                    java.lang.Object value)
                             throws OgnlException
        Description copied from class: SimpleNode
        Subclasses implement this method to do the actual work of setting the appropriate value in the target object. The default implementation throws an InappropriateExpressionException, meaning that it cannot be a set expression.
        Overrides:
        setValueBody in class ASTVarRef
        Throws:
        OgnlException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class ASTVarRef