Package ognl

Class ASTMultiply

All Implemented Interfaces:
Serializable, JavaSource, Node, NodeType

public class ASTMultiply extends NumericExpression
See Also:
  • Field Details

  • Constructor Details

    • ASTMultiply

      public ASTMultiply(int id)
    • ASTMultiply

      public ASTMultiply(OgnlParser p, int id)
  • Method Details

    • jjtClose

      public void jjtClose()
      Description copied from interface: Node
      This method is called after all the child nodes have been added.
      Specified by:
      jjtClose in interface Node
      Overrides:
      jjtClose in class SimpleNode
    • getValueBody

      protected Object getValueBody(OgnlContext context, 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
      Parameters:
      context - the OgnlContext within which to perform the operation.
      source - the Object from which to get the value body.
      Returns:
      the value body from the source (as appropriate within the provided context).
      Throws:
      OgnlException - if the value body get fails.
    • getExpressionOperator

      public String getExpressionOperator(int index)
      Overrides:
      getExpressionOperator in class ExpressionNode