Class TimeBasedContexts
java.lang.Object
com.itextpdf.signatures.validation.context.TimeBasedContexts
Container class, which contains set of single
TimeBasedContext values.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TimeBasedContextsall()CreatesTimeBasedContextscontaining allTimeBasedContextvalues.static TimeBasedContextscomplementOf(TimeBasedContexts other) CreatesTimeBasedContextscontaining all the elements of this type that are not contained in the specified set.getSet()Gets encapsulatedEnumSetcontainingTimeBasedContextelements.static TimeBasedContextsof(TimeBasedContext first, TimeBasedContext... rest) CreatesTimeBasedContextscontainer from severalTimeBasedContextvalues.
-
Field Details
-
set
-
-
Constructor Details
-
TimeBasedContexts
-
-
Method Details
-
of
CreatesTimeBasedContextscontainer from severalTimeBasedContextvalues.- Parameters:
first- an element that the set is to contain initiallyrest- the remaining elements the set is to contain- Returns:
TimeBasedContextscontainer, containing provided elements
-
all
CreatesTimeBasedContextscontaining allTimeBasedContextvalues.- Returns:
TimeBasedContextscontainer containing allTimeBasedContextvalues
-
complementOf
CreatesTimeBasedContextscontaining all the elements of this type that are not contained in the specified set.- Parameters:
other- anotherTimeBasedContextsfrom whose complement to initialize this container- Returns:
- the complement of the specified
TimeBasedContexts.
-
getSet
Gets encapsulatedEnumSetcontainingTimeBasedContextelements.- Returns:
- encapsulated
EnumSetcontainingTimeBasedContextelements
-