Class ValidatorContexts
java.lang.Object
com.itextpdf.signatures.validation.context.ValidatorContexts
Container class, which contains set of single
ValidatorContext
values.
-
Method Summary
Modifier and TypeMethodDescriptionstatic ValidatorContexts
all()
CreatesValidatorContexts
containing allValidatorContext
values.static ValidatorContexts
complementOf
(ValidatorContexts other) CreatesValidatorContexts
containing all the elements of this type that are not contained in the specified set.getSet()
Gets encapsulatedEnumSet
containingValidatorContext
elements.static ValidatorContexts
of
(ValidatorContext first, ValidatorContext... rest) CreatesValidatorContexts
container from severalValidatorContext
values.
-
Method Details
-
of
CreatesValidatorContexts
container from severalValidatorContext
values.- Parameters:
-
first
- an element that the set is to contain initially -
rest
- the remaining elements the set is to contain - Returns:
-
ValidatorContexts
container, containing provided elements
-
all
CreatesValidatorContexts
containing allValidatorContext
values.- Returns:
-
ValidatorContexts
container containing allValidatorContext
values
-
complementOf
CreatesValidatorContexts
containing all the elements of this type that are not contained in the specified set.- Parameters:
-
other
- anotherValidatorContexts
from whose complement to initialize this container - Returns:
-
the complement of the specified
ValidatorContexts
.
-
getSet
Gets encapsulatedEnumSet
containingValidatorContext
elements.- Returns:
-
encapsulated
EnumSet
containingValidatorContext
elements
-