Package org.spdx.html
Class PackageContext
java.lang.Object
org.spdx.html.PackageContext
public class PackageContext extends Object
Context for SPDX Package
- Author:
- Gary O'Neall
-
Constructor Summary
Constructors Constructor Description PackageContext(SpdxPackage pkg, Map<String,String> spdxIdToUrl) -
Method Summary
Modifier and Type Method Description List<String>attributionText()List<String>checksum()StringcopyrightText()Stringdescription()StringdownloadLocation()List<ExternalRefContext>externalRefs()List<ElementContext>hasFile()StringhomePage()booleanisFilesAnalyzed()StringlicenseComments()StringlicenseConcluded()StringlicenseDeclared()List<String>licenseInfoFromFiles()Stringname()Stringoriginator()List<AnnotationContext>packageAnnotations()StringpackageFileName()List<RelationshipContext>packageRelationships()VerificationCodeContextpackageVerificationCode()StringsourceInfo()StringspdxId()Stringsummary()Stringsupplier()StringversionInfo()
-
Constructor Details
-
PackageContext
public PackageContext(SpdxPackage pkg, Map<String,String> spdxIdToUrl) throws InvalidSPDXAnalysisException- Parameters:
doc-- Throws:
InvalidSPDXAnalysisException
-
-
Method Details
-
name
-
versionInfo
-
downloadLocation
-
summary
-
attributionText
-
sourceInfo
-
packageFileName
-
supplier
-
originator
-
description
-
packageVerificationCode
-
checksum
-
copyrightText
-
licenseDeclared
-
licenseConcluded
-
licenseComments
-
homePage
-
licenseInfoFromFiles
-
spdxId
-
hasFile
-
isFilesAnalyzed
public boolean isFilesAnalyzed() -
packageRelationships
-
packageAnnotations
-
externalRefs
-