Class IdNode

  • All Implemented Interfaces:
    ExpressionNode

    public class IdNode
    extends java.lang.Object
    implements ExpressionNode
    Author:
    Simon Thoresen Hult
    • Constructor Detail

      • IdNode

        public IdNode()
    • Method Detail

      • getField

        public java.lang.String getField()
      • setField

        public IdNode setField​(java.lang.String field)
      • setWidthBits

        public IdNode setWidthBits​(short widthBits)
      • setDivisionBits

        public IdNode setDivisionBits​(short divisionBits)
      • evaluate

        public java.lang.Object evaluate​(Context context)
        Description copied from interface: ExpressionNode
        Evaluate the content of this node based on document object, and return that value.
        Specified by:
        evaluate in interface ExpressionNode
        Parameters:
        context - the document to evaluate over.
        Returns:
        the value of this.
      • accept

        public void accept​(Visitor visitor)
        Description copied from interface: ExpressionNode
        Perform visitation of this node.
        Specified by:
        accept in interface ExpressionNode
        Parameters:
        visitor - the visitor that wishes to visit the node.
      • toString

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