Class StringContent

    • Constructor Summary

      Constructors 
      Constructor Description
      StringContent​(java.lang.String renderedText, long version)  
    • Method Summary

      Modifier and Type Method Description
      java.lang.String get()  
      long getVersion()
      Get the version for this element.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • StringContent

        public StringContent​(java.lang.String renderedText,
                             long version)
    • Method Detail

      • getVersion

        public long getVersion()
        Description copied from interface: Versioned
        Get the version for this element. An element is considered valid only for other elements of the same version.
        Specified by:
        getVersion in interface Versioned
      • get

        public java.lang.String get()
        Specified by:
        get in interface java.util.function.Supplier<java.lang.String>
      • toString

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