Class TLPredicateFactory
java.lang.Object
eu.europa.esig.dss.tsl.function.TLPredicateFactory
This class provides utils for creation of common
Predicates used
for TLSource/LOTLSource configuration.-
Method Summary
Modifier and TypeMethodDescriptionstatic Predicate<eu.europa.esig.trustedlist.jaxb.tsl.OtherTSLPointerType> This method creates a Predicate used to filter the XML European list of trusted list (LOTL)static Predicate<eu.europa.esig.trustedlist.jaxb.tsl.OtherTSLPointerType> createEUTLCountryCodePredicate(String... countryCodes) This method creates a Predicate used to filter XML European Trusted Lists (TL) with the defined Scheme Territory codes Example : "DE", "FR"static Predicate<eu.europa.esig.trustedlist.jaxb.tsl.OtherTSLPointerType> This method creates a Predicate used to filter the XML European Trusted List (TL)static Predicate<eu.europa.esig.trustedlist.jaxb.tsl.OtherTSLPointerType> This method creates a predicate used to filter all PDF Trusted Lists (TL)static Predicate<eu.europa.esig.trustedlist.jaxb.tsl.OtherTSLPointerType> createPredicateWithCustomMimeType(String mimetype) This method creates a predicate used to filter all Trusted Lists (TL) with the defined mimetype Example : "application/vnd.etsi.tsl+xml" to filter XML Trusted Lists (TL)static Predicate<eu.europa.esig.trustedlist.jaxb.tsl.OtherTSLPointerType> createPredicateWithCustomTSLType(String tslType) This method creates a Predicate used to filter an XML Trusted List (TL) defined with a custom TSLTypestatic Predicate<eu.europa.esig.trustedlist.jaxb.tsl.OtherTSLPointerType> This method creates a predicate used to filter all XML Trusted Lists (TL)
-
Method Details
-
createEULOTLPredicate
-
createEUTLPredicate
-
createPredicateWithCustomTSLType
-
createEUTLCountryCodePredicate
-
createXMLOtherTSLPointerPredicate
-
createPDFOtherTSLPointerPredicate
-
createPredicateWithCustomMimeType
public static Predicate<eu.europa.esig.trustedlist.jaxb.tsl.OtherTSLPointerType> createPredicateWithCustomMimeType(String mimetype) This method creates a predicate used to filter all Trusted Lists (TL) with the defined mimetype Example : "application/vnd.etsi.tsl+xml" to filter XML Trusted Lists (TL)
-