Package ognl

Class ASTConst

    • Constructor Detail

      • ASTConst

        public ASTConst​(int id)
      • ASTConst

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

      • setValue

        public void setValue​(java.lang.Object value)
        Called from parser actions.
      • getValue

        public java.lang.Object getValue()
      • 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.
        Specified by:
        getValueBody in class SimpleNode
        Throws:
        OgnlException
      • getGetterClass

        public java.lang.Class getGetterClass()
        Description copied from interface: NodeType
        The type returned from the expression - if any.
        Specified by:
        getGetterClass in interface NodeType
        Returns:
        The type.
      • getSetterClass

        public java.lang.Class getSetterClass()
        Description copied from interface: NodeType
        The type used to set the value - if any.
        Specified by:
        getSetterClass in interface NodeType
        Returns:
        The type.