All Implemented Interfaces:
TagBase, InputAttributable, Serializable, Cloneable

public class MinLength extends AbstractAttribute implements InputAttributable
minlength attribute for the element.
minlength attribute for input element :-
If the value of the type attribute is text, email, search, password, tel, or url, this attribute specifies the minimum number of characters (in Unicode code points) that the user can enter; for other control types, it is ignored.

Since:
1.0.0
See Also:
  • Constructor Details

    • MinLength

      public MinLength(String value)
      Parameters:
      value - should be number
      Since:
      1.1.4
    • MinLength

      public MinLength(int value)
      Parameters:
      value - the value for the attribute
      Since:
      1.0.0
  • Method Details

    • setValue

      public void setValue(int value)
      sets the value for this attribute
      Parameters:
      value - the value for the attribute.
      Since:
      1.0.0
    • getValue

      public int getValue()
      gets the value of this attribute
      Returns:
      the value of the attribute
      Since:
      1.0.0
    • init

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