Class CustomAttribute

All Implemented Interfaces:
TagBase, GlobalAttributable, Serializable, Cloneable

public class CustomAttribute extends AbstractAttribute implements GlobalAttributable
This is a custom attribute to create an attribute with any name and value.
See Also:
  • Constructor Details

    • CustomAttribute

      public CustomAttribute(String attributeName)
    • CustomAttribute

      public CustomAttribute(String attributeName, String value)
  • Method Details

    • init

      protected void init()
      invokes only once per object
      Since:
      1.0.0
    • getValue

      public String getValue()
      Returns:
      the value
      Since:
      1.0.0
    • setValue

      public void setValue(String value)
      Parameters:
      value - the value to set
      Since:
      1.0.0
    • setValue

      public void setValue(boolean updateClient, String value)
      Parameters:
      updateClient - true to update client browser page if it is available. The default value is true but it will be ignored if there is no client browser page.
      value - the value to set
      Since:
      2.1.15