All Implemented Interfaces:
TagBase, ScriptAttributable, Serializable, Cloneable

public class Nonce extends AbstractAttribute implements ScriptAttributable
nonce attribute for Script tag
Since:
3.0.1
See Also:
  • Constructor Details

    • Nonce

      public Nonce(String value)
      Parameters:
      value - the value for the attribute
      Since:
      3.0.1
  • Method Details

    • setValue

      public void setValue(String value)
      sets the value for this attribute
      Parameters:
      value - the value for the attribute.
      Since:
      3.0.1
    • setValue

      public void setValue(boolean updateClient, String value)
      sets the value for this attribute
      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 for the attribute.
      Since:
      3.0.1
    • getValue

      public String getValue()
      gets the value of this attribute
      Returns:
      the value of the attribute
      Since:
      3.0.1
    • init

      protected void init()
      invokes only once per object
      Since:
      3.0.1