Class Data

All Implemented Interfaces:
Serializable, Cloneable, Component, DynamicPropertied, RawId, Scope, ComponentCtrl

public class Data extends AbstractTag
The DATA tag.
Author:
jameschu
See Also:
  • Constructor Details

    • Data

      public Data()
  • Method Details

    • getValue

      public 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(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