Package org.loboevolution.html.node
Interface ValidityState
public interface ValidityState
The validity states that an element can be in, with respect to constraint validation. Together, they help explain why an element's value fails to validate, if it's not valid.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isBadInput.boolean
isCustomError.boolean
isPatternMismatch.boolean
isRangeOverflow.boolean
isRangeUnderflow.boolean
isStepMismatch.boolean
isTooLong.boolean
isTooShort.boolean
isTypeMismatch.boolean
isValid()
isValid.boolean
isValueMissing.
-
Method Details
-
isBadInput
boolean isBadInput()isBadInput.
- Returns:
- a boolean.
-
isCustomError
boolean isCustomError()isCustomError.
- Returns:
- a boolean.
-
isPatternMismatch
boolean isPatternMismatch()isPatternMismatch.
- Returns:
- a boolean.
-
isRangeOverflow
boolean isRangeOverflow()isRangeOverflow.
- Returns:
- a boolean.
-
isRangeUnderflow
boolean isRangeUnderflow()isRangeUnderflow.
- Returns:
- a boolean.
-
isStepMismatch
boolean isStepMismatch()isStepMismatch.
- Returns:
- a boolean.
-
isTooLong
boolean isTooLong()isTooLong.
- Returns:
- a boolean.
-
isTooShort
boolean isTooShort()isTooShort.
- Returns:
- a boolean.
-
isTypeMismatch
boolean isTypeMismatch()isTypeMismatch.
- Returns:
- a boolean.
-
isValid
boolean isValid()isValid.
- Returns:
- a boolean.
-
isValueMissing
boolean isValueMissing()isValueMissing.
- Returns:
- a boolean.
-