Retrieves the maximum length for this attribute.
Syntax
public int getMaxLength();
Parameters
None.
Return values
An integer that represents the maximum length of an attribute's value.
See also
setMaxLength()