Class LiteralImpl

All Implemented Interfaces:
Literal, Operand, StaticOperand

public class LiteralImpl extends StaticOperandImpl implements Literal
LiteralImpl...
  • Constructor Details

  • Method Details

    • getLiteralValue

      public Value getLiteralValue()
      Description copied from interface: Literal
      Gets the value of the literal.
      Specified by:
      getLiteralValue in interface Literal
      Returns:
      the value of this literal.
    • accept

      public Object accept(QOMTreeVisitor visitor, Object data) throws Exception
      Accepts a visitor and calls the appropriate visit method depending on the type of this QOM node.
      Specified by:
      accept in class AbstractQOMNode
      Parameters:
      visitor - the visitor.
      data - user defined data, which is passed to the visit method.
      Throws:
      Exception
    • toString

      public String toString()
      Overrides:
      toString in class Object