Class Value


  • public class Value
    extends java.lang.Object
    Data for a simple selector (these are delimited by commas in a selector list).
    • Constructor Summary

      Constructors 
      Constructor Description
      Value​(java.lang.String text, java.util.Optional<SourceRange> range)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<SourceRange> getRange()
      Value range in the underlying resource (if available).
      java.lang.String getText()
      Value text.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Value

        public Value​(java.lang.String text,
                     java.util.Optional<SourceRange> range)
    • Method Detail

      • getText

        public java.lang.String getText()
        Value text.
      • getRange

        public java.util.Optional<SourceRange> getRange()
        Value range in the underlying resource (if available).