Class StringBindMarkerNode

  • All Implemented Interfaces:
    ExpNode

    public class StringBindMarkerNode
    extends BindMarkerNode
    A bind marker representing a String value
    • Constructor Detail

      • StringBindMarkerNode

        public StringBindMarkerNode​(String value)
    • Method Detail

      • visit

        public <T> T visit​(ExpNodeVisitor<T> visitor)
        Description copied from interface: ExpNode
        Generic evaluation visitor
        Returns:
      • checkTypeAndValue

        public boolean checkTypeAndValue​(Object expectedValue)
        Description copied from class: BindMarkerNode
        Check that the value represented by this bind marker equals the type and value of the given expectedValue.
        Specified by:
        checkTypeAndValue in class BindMarkerNode
        Returns:
      • toValueString

        public String toValueString​(String defaultValue)
        Description copied from class: BindMarkerNode
        Return a string of the value being represented by this bind marker, or the defaultValue if the internal value is null.
        Specified by:
        toValueString in class BindMarkerNode
        Returns: