Class InlineValueEvaluatableExpression


  • public class InlineValueEvaluatableExpression
    extends java.lang.Object
    Provide an inline value through an expression evaluation.

    If only a range is specified, the expression will be extracted from the underlying document.

    An optional expression can be used to override the extracted expression.

    Since 3.17.0

    • Constructor Detail

      • InlineValueEvaluatableExpression

        public InlineValueEvaluatableExpression()
      • InlineValueEvaluatableExpression

        public InlineValueEvaluatableExpression​(Range range)
      • InlineValueEvaluatableExpression

        public InlineValueEvaluatableExpression​(Range range,
                                                java.lang.String expression)
    • Method Detail

      • getRange

        public Range getRange()
        The document range for which the inline value applies. The range is used to extract the evaluatable expression from the underlying document.
      • setRange

        public void setRange​(Range range)
        The document range for which the inline value applies. The range is used to extract the evaluatable expression from the underlying document.
      • getExpression

        public java.lang.String getExpression()
        If specified the name of the variable to look up.
      • setExpression

        public void setExpression​(java.lang.String expression)
        If specified the name of the variable to look up.
      • toString

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object