Package ognl

Class ASTKeyValue

All Implemented Interfaces:
Serializable, JavaSource, Node

public class ASTKeyValue extends SimpleNode
See Also:
  • Field Details

  • Constructor Details

    • ASTKeyValue

      public ASTKeyValue(int id)
    • ASTKeyValue

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

    • getKey

      protected Node getKey()
    • getValue

      protected Node getValue()
    • getValueBody

      protected Object getValueBody(OgnlContext context, Object source) throws OgnlException
      Returns null because this is a parser construct and does not evaluate
      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.
    • toString

      public String toString()
      Overrides:
      toString in class SimpleNode