Interface UriValidator
- All Superinterfaces:
ObjectComponent<UriValidator, URI>, ValidatorComponent<UriValidator, URI>
public interface UriValidator
extends ValidatorComponent<UriValidator, URI>, ObjectComponent<UriValidator, URI>
Validates the state of a
URI.-
Method Summary
Methods declared in interface ObjectComponent
getValue, isEqualTo, isEqualTo, isInstanceOf, isInstanceOf, isNotEqualTo, isNotEqualTo, isNotInstanceOf, isNotInstanceOf, isNotNull, isNull, isReferenceEqualTo, isReferenceNotEqualToMethods declared in interface ValidatorComponent
and, elseGetFailures, elseThrow, getContext, getContextAsString, getName, getValueOrDefault, validationFailed, withContext
-
Method Details
-
isAbsolute
UriValidator isAbsolute()Ensures that the URI is absolute.- Returns:
- this
- Throws:
NullPointerException- if the value is nullIllegalArgumentException- if the URI is relative
-