Class Data

    • Constructor Detail

      • Data

        public Data()
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns the value of this data tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Since:
        8.5.1
      • setValue

        public void setValue​(java.lang.String value)
                      throws WrongValueException
        Sets the value of this data tag.

        Notice that this attribute refers to the corresponding attribute of the HTML5 specification. Hence, it would still be rendered to client-side as a DOM attribute even if the browser doesn’t support it.

        Throws:
        WrongValueException
        Since:
        8.5.1