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 ValidatorContextsall()CreatesValidatorContextscontaining allValidatorContextvalues.static ValidatorContextscomplementOf(ValidatorContexts other) CreatesValidatorContextscontaining all the elements of this type that are not contained in the specified set.getSet()Gets encapsulatedEnumSetcontainingValidatorContextelements.static ValidatorContextsof(ValidatorContext first, ValidatorContext... rest) CreatesValidatorContextscontainer from severalValidatorContextvalues.
-
Method Details
-
of
CreatesValidatorContextscontainer from severalValidatorContextvalues.- Parameters:
-
first- an element that the set is to contain initially -
rest- the remaining elements the set is to contain - Returns:
-
ValidatorContextscontainer, containing provided elements
-
all
CreatesValidatorContextscontaining allValidatorContextvalues.- Returns:
-
ValidatorContextscontainer containing allValidatorContextvalues
-
complementOf
CreatesValidatorContextscontaining all the elements of this type that are not contained in the specified set.- Parameters:
-
other- anotherValidatorContextsfrom whose complement to initialize this container - Returns:
-
the complement of the specified
ValidatorContexts.
-
getSet
Gets encapsulatedEnumSetcontainingValidatorContextelements.- Returns:
-
encapsulated
EnumSetcontainingValidatorContextelements
-