Interface ProfileDirectory
-
public interface ProfileDirectoryA ProfileDirectory provides access to a set ofValidationProfiles that can be retrieved by String id orPDFAFlavour.This interface provides a simple directory of
ValidationProfiles that is intentionally restricted by the enum typePDFAFlavour.- Author:
- Carl Wilson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Set<PDFAFlavour>getPDFAFlavours()ValidationProfilegetValidationProfileByFlavour(PDFAFlavour flavour)ValidationProfilegetValidationProfileById(String profileID)Set<String>getValidationProfileIds()Set<ValidationProfile>getValidationProfiles()
-
-
-
Method Detail
-
getValidationProfileIds
Set<String> getValidationProfileIds()
- Returns:
- the Set of ValidationProfile String identifiers for the profiles held in the directory.
-
getPDFAFlavours
Set<PDFAFlavour> getPDFAFlavours()
- Returns:
- the Set of
PDFAFlavourenum instances that identify the profiles held in the directory.
-
getValidationProfileById
ValidationProfile getValidationProfileById(String profileID)
- Parameters:
profileID- a two character String that uniquely identifies a particularPDFAFlavour, e.g. 1a, 1b, 2a, etc.- Returns:
- the
ValidationProfileassociated with the profileId - Throws:
NoSuchElementException- when there is no profile associated with the profileID string IllegalArgumentException if the profileID parameter is nullIllegalArgumentException- if profileID is null
-
getValidationProfileByFlavour
ValidationProfile getValidationProfileByFlavour(PDFAFlavour flavour)
- Parameters:
flavour- aPDFAFlavourinstance that identifies aValidationProfile- Returns:
- the
ValidationProfileassociated with the flavour - Throws:
NoSuchElementException- when there is no profile associated with the flavour IllegalArgumentException if the flavour parameter is nullIllegalArgumentException- if flavour is null
-
getValidationProfiles
Set<ValidationProfile> getValidationProfiles()
- Returns:
- the full set of
ValidationProfiles held in the directory.
-
-