Class StringContent

  • All Implemented Interfaces:
    StaticContent

    @API(type=NOT_EXTENDABLE,
         src=PRIVATE)
    public class StringContent
    extends java.lang.Object
    implements StaticContent
    String content
    • Constructor Detail

      • StringContent

        public StringContent​(java.lang.String value)
        Constructor
        Parameters:
        value - Value
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns:
        The text value
      • toString

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

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

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