Class ContentBlockValue


  • public class ContentBlockValue
    extends java.lang.Object
    ContentBlockValue - The type of the content blocks.
    • Method Detail

      • of

        public static ContentBlockValue of​(java.lang.String value)
        Returns a ContentBlockValue with the given value. For a specific value the returned object will always be a singleton so reference equality is satisfied when the values are the same.
        Parameters:
        value - value to be wrapped as ContentBlockValue
      • value

        public java.lang.String value()
      • isKnown

        public boolean isKnown()
      • hashCode

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

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

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