Package org.verapdf.component
Class Components
java.lang.Object
org.verapdf.component.Components
Factory class for veraPDF components and associated classes.
- Version:
- 0.1 Created 27 Oct 2016:00:13:55
- Author:
- Carl Wilson carlwilson AT github
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classConvenience factory class to facilitate the creation ofAuditDurations. -
Method Summary
Modifier and TypeMethodDescriptionstatic ComponentDetailsstatic AuditDurationstatic ComponentDetailsCreate a new newComponentDetailsinstance from the passed valuesstatic ComponentDetailslibraryDetails(URI id, String name) Convenience method that creates aComponentDetailsinstance with the veraPDF library version number and description.static ComponentDetailsveraDetails(URI id, String name, String version, String description) Convenience method that creates aComponentDetailsinstance with the veraPDF library description.
-
Method Details
-
defaultDetails
- Returns:
- the default
ComponentDetailsinstance.
-
libraryDetails
Convenience method that creates aComponentDetailsinstance with the veraPDF library version number and description.- Parameters:
id- a preferably uniqueURIthat identifies theComponentDetails.name- the name to be assigned theComponentDetails- Returns:
- a new
ComponentDetailsinstance populated using the passed parameters
-
veraDetails
Convenience method that creates aComponentDetailsinstance with the veraPDF library description.- Parameters:
id- a preferably uniqueURIthat identifies theComponentDetails.name- the name to be assigned theComponentDetailsdescription- the description to be assigned to theComponentDetailsinstance.- Returns:
- a new
ComponentDetailsinstance populated using the passed parameters
-
detailsFromValues
public static ComponentDetails detailsFromValues(URI id, String name, String version, String provider, String description) Create a new newComponentDetailsinstance from the passed values -
defaultDuration
- Returns:
- the default
AuditDurationinstance
-