Uses of Class
org.spdx.rdfparser.license.AnyLicenseInfo
| Package | Description |
|---|---|
| org.spdx.compare | |
| org.spdx.merge | |
| org.spdx.rdfparser | |
| org.spdx.rdfparser.license |
Classes implementing the license model for the SPDX Parser
|
| org.spdx.rdfparser.model |
Model for the SPDX 2.0+ specification.
|
| org.spdx.spdxspreadsheet |
-
Uses of AnyLicenseInfo in org.spdx.compare
Methods in org.spdx.compare that return AnyLicenseInfo Modifier and Type Method Description AnyLicenseInfo[]SpdxItemComparer. getUniqueSeenLicenses(SpdxDocument docA, SpdxDocument docB)Get any licenses found in docA but not in docBAnyLicenseInfo[]SpdxItemDifference. getUniqueSeenLicensesA()AnyLicenseInfo[]SpdxItemDifference. getUniqueSeenLicensesB()Methods in org.spdx.compare with parameters of type AnyLicenseInfo Modifier and Type Method Description booleanSpdxComparer. compareLicense(int doc1, AnyLicenseInfo license1, int doc2, AnyLicenseInfo license2)Compares two licenses from two different SPDX documents taking into account the extracted license infos who's ID's may be different between the two documents Note: The ExtracedLicenseIDMap must be initialized before this method is invokedstatic booleanLicenseCompareHelper. isLicenseEqual(AnyLicenseInfo license1, AnyLicenseInfo license2, Map<String,String> xlationMap)Compares two licenses from potentially two different documents which may have different license ID's for the same licensestatic StringCompareHelper. licenseInfosToString(AnyLicenseInfo[] licenseInfoFromFiles)Constructors in org.spdx.compare with parameters of type AnyLicenseInfo Constructor Description SpdxFileDifference(SpdxFile fileA, SpdxFile fileB, boolean concludedLicensesEqual, boolean seenLicensesEqual, AnyLicenseInfo[] uniqueSeenLicensesA, AnyLicenseInfo[] uniqueSeenLicensesB, boolean artifactOfsEquals, DoapProject[] uniqueArtifactOfA2, DoapProject[] uniqueArtifactOfB2, boolean checksumsEquals, Checksum[] uniqueChecksumsA, Checksum[] uniqueChecksumsB, boolean relationshipsEquals, Relationship[] uniqueRelationshipA, Relationship[] uniqueRelationshipB, boolean annotationsEquals, Annotation[] uniqueAnnotationsA, Annotation[] uniqueAnnotationsB)SpdxItemDifference(SpdxItem itemA, SpdxItem itemB, boolean concludedLicensesEqual, boolean seenLicensesEqual, AnyLicenseInfo[] uniqueSeenLicensesA, AnyLicenseInfo[] uniqueSeenLicensesB, boolean relationshipsEquals, Relationship[] uniqueRelationshipA, Relationship[] uniqueRelationshipB, boolean annotationsEquals, Annotation[] uniqueAnnotationsA, Annotation[] uniqueAnnotationsB) -
Uses of AnyLicenseInfo in org.spdx.merge
Methods in org.spdx.merge that return AnyLicenseInfo Modifier and Type Method Description AnyLicenseInfo[]SpdxPackageInfoMerger. checkLicenseFromFile(SpdxDocument doc, SpdxPackage temp)A method to check license from file information through mapLicenseInfo function.AnyLicenseInfoSpdxPackageInfoMerger. licsCombiner(AnyLicenseInfo lic1, AnyLicenseInfo lic2)A method to combine two licenses into oneAnyLicenseInfoSpdxLicenseMapper. mapLicenseInfo(SpdxDocument spdxDoc, AnyLicenseInfo license)a method gets a sub SPDX document and licenses from declared licenses in document package.AnyLicenseInfoSpdxLicenseMapper. mapNonStdLicInMap(SpdxDocument spdxDoc, AnyLicenseInfo license)a method gets a sub SPDX document and one of its license (non-standard license).Methods in org.spdx.merge that return types with arguments of type AnyLicenseInfo Modifier and Type Method Description Map<AnyLicenseInfo,AnyLicenseInfo>SpdxLicenseMapper. foundInterMap(SpdxDocument spdxDoc)Map<AnyLicenseInfo,AnyLicenseInfo>SpdxLicenseMapper. foundInterMap(SpdxDocument spdxDoc)Methods in org.spdx.merge with parameters of type AnyLicenseInfo Modifier and Type Method Description AnyLicenseInfoSpdxPackageInfoMerger. licsCombiner(AnyLicenseInfo lic1, AnyLicenseInfo lic2)A method to combine two licenses into oneAnyLicenseInfoSpdxLicenseMapper. mapLicenseInfo(SpdxDocument spdxDoc, AnyLicenseInfo license)a method gets a sub SPDX document and licenses from declared licenses in document package.AnyLicenseInfoSpdxLicenseMapper. mapNonStdLicInMap(SpdxDocument spdxDoc, AnyLicenseInfo license)a method gets a sub SPDX document and one of its license (non-standard license). -
Uses of AnyLicenseInfo in org.spdx.rdfparser
Methods in org.spdx.rdfparser that return AnyLicenseInfo Modifier and Type Method Description AnyLicenseInfoSPDXPackageInfo. getConcludedLicense()Deprecated.AnyLicenseInfoSPDXDocument.SPDXPackage. getConcludedLicenses()Deprecated.AnyLicenseInfoSPDXFile. getConcludedLicenses()Deprecated.AnyLicenseInfoSPDXDocument.SPDXPackage. getDeclaredLicense()Deprecated.AnyLicenseInfoSPDXPackageInfo. getDeclaredLicenses()Deprecated.AnyLicenseInfo[]SPDXDocument.SPDXPackage. getLicenseInfoFromFiles()Deprecated.AnyLicenseInfo[]SPDXPackageInfo. getLicensesFromFiles()Deprecated.AnyLicenseInfo[]SPDXFile. getSeenLicenses()Deprecated.static AnyLicenseInfoSPDXLicenseInfoFactory. parseSPDXLicenseString(String licenseString)Deprecated.Methods in org.spdx.rdfparser with parameters of type AnyLicenseInfo Modifier and Type Method Description voidSPDXPackageInfo. setConcludedLicense(AnyLicenseInfo concludedLicense)Deprecated.voidSPDXDocument.SPDXPackage. setConcludedLicenses(AnyLicenseInfo detectedLicenses)Deprecated.voidSPDXFile. setConcludedLicenses(AnyLicenseInfo fileLicenses)Deprecated.voidSPDXPackageInfo. setDConcludedLicense(AnyLicenseInfo concludedLicense)Deprecated.voidSPDXDocument.SPDXPackage. setDeclaredLicense(AnyLicenseInfo declaredLicense)Deprecated.voidSPDXPackageInfo. setDeclaredLicenses(AnyLicenseInfo declaredLicenses)Deprecated.voidSPDXDocument.SPDXPackage. setLicenseInfoFromFiles(AnyLicenseInfo[] licenseInfo)Deprecated.voidSPDXPackageInfo. setLicensesFromFiles(AnyLicenseInfo[] licensesFromFiles)Deprecated.voidSPDXFile. setSeenLicenses(AnyLicenseInfo[] seenLicenses)Deprecated.Constructors in org.spdx.rdfparser with parameters of type AnyLicenseInfo Constructor Description SPDXFile(String name, String type, String sha1, AnyLicenseInfo concludedLicenses, AnyLicenseInfo[] seenLicenses, String licenseComments, String copyright, DOAPProject[] artifactOf)Deprecated.SPDXFile(String name, String type, String sha1, AnyLicenseInfo concludedLicenses, AnyLicenseInfo[] seenLicenses, String licenseComments, String copyright, DOAPProject[] artifactOf, String comment)Deprecated.SPDXFile(String name, String type, String sha1, AnyLicenseInfo concludedLicenses, AnyLicenseInfo[] seenLicenses, String licenseComments, String copyright, DOAPProject[] artifactOf, String comment, SPDXFile[] fileDependencies, String[] contributors, String noticeText)Deprecated.SPDXPackageInfo(String declaredName, String versionInfo, String machineName, String sha1, String sourceInfo, AnyLicenseInfo declaredLicense, AnyLicenseInfo concludedLicense, AnyLicenseInfo[] licensesFromFiles, String licenseComments, String declaredCopyright, String shortDescription, String description, String url, SpdxPackageVerificationCode spdxPackageVerificationCode, String supplier, String originator, String homePage)Deprecated. -
Uses of AnyLicenseInfo in org.spdx.rdfparser.license
Subclasses of AnyLicenseInfo in org.spdx.rdfparser.license Modifier and Type Class Description classConjunctiveLicenseSetA set of licenses where all of the licenses applyclassDisjunctiveLicenseSetA set of licenses where there is a choice of one of the licenses in the setclassExtractedLicenseInfoAn ExtractedLicensingInfo represents a license or licensing notice that was found in the package.classLicenseDescribes a license All licenses have an ID.classLicenseSetA specific form of license information where there is a set of licenses representedclassOrLaterOperatorA license that has an or later operator (e.g.classSimpleLicensingInfoThe SimpleLicenseInfo class includes all resources that represent simple, atomic, licensing information.classSpdxListedLicenseListed license for SPDX as listed at spdx.org/licensesclassSpdxNoAssertionLicenseSpecial class of license to represent no asserted license license in the file or packagesclassSpdxNoneLicenseA special license meaning that no license was foundclassWithExceptionOperatorA license that has a With exception operator (e.g.Fields in org.spdx.rdfparser.license with type parameters of type AnyLicenseInfo Modifier and Type Field Description protected Set<AnyLicenseInfo>LicenseSet. licenseInfosMethods in org.spdx.rdfparser.license that return AnyLicenseInfo Modifier and Type Method Description abstract AnyLicenseInfoAnyLicenseInfo. clone()AnyLicenseInfoConjunctiveLicenseSet. clone()AnyLicenseInfoDisjunctiveLicenseSet. clone()AnyLicenseInfoExtractedLicenseInfo. clone()AnyLicenseInfoLicense. clone()AnyLicenseInfoOrLaterOperator. clone()AnyLicenseInfoSpdxNoAssertionLicense. clone()AnyLicenseInfoSpdxNoneLicense. clone()AnyLicenseInfoWithExceptionOperator. clone()AnyLicenseInfo[]ConjunctiveLicenseSet. getFlattenedMembers()Conjunctive license sets can contain other conjunctive license sets as members.protected AnyLicenseInfo[]DisjunctiveLicenseSet. getFlattenedMembers()Disjunctive license sets can contain other conjunctive license sets as members.AnyLicenseInfoWithExceptionOperator. getLicense()AnyLicenseInfoListedLicenses. getLicenseFromStdLicModel(IModelContainer modelContainer, org.apache.jena.graph.Node node)Get or create a standard license in the model container copying any relevant information from the standard model to the model in the modelContainerstatic AnyLicenseInfoLicenseInfoFactory. getLicenseInfoFromModel(IModelContainer modelContainer, org.apache.jena.graph.Node node)Create the appropriate SPDXLicenseInfo from the model and node provided.AnyLicenseInfo[]LicenseSet. getMembers()static AnyLicenseInfoLicenseInfoFactory. parseSPDXLicenseString(String licenseString)Parses a license string and converts it into a SPDXLicenseInfo object Syntax - A license set must start and end with a parenthesis "(" A conjunctive license set will have and AND after the first licenseInfo term A disjunctive license set will have an OR after the first licenseInfo term If there is no And or Or, then it is converted to a simple license type A space or tab must be used between license ID's and the keywords AND and OR A licenseID must NOT be "AND" or "OR"static AnyLicenseInfoLicenseInfoFactory. parseSPDXLicenseString(String licenseString, SpdxDocumentContainer container)Parses a license string and converts it into a SPDXLicenseInfo object Syntax - A license set must start and end with a parenthesis "(" A conjunctive license set will have and AND after the first licenseInfo term A disjunctive license set will have an OR after the first licenseInfo term If there is no And or Or, then it is converted to a simple license type A space or tab must be used between license ID's and the keywords AND and OR A licenseID must NOT be "AND" or "OR"Methods in org.spdx.rdfparser.license with parameters of type AnyLicenseInfo Modifier and Type Method Description voidWithExceptionOperator. setLicense(AnyLicenseInfo license)voidLicenseSet. setMembers(AnyLicenseInfo[] licenseInfos)Sets the members of the license set.Constructors in org.spdx.rdfparser.license with parameters of type AnyLicenseInfo Constructor Description ConjunctiveLicenseSet(AnyLicenseInfo[] conjunctiveLicenses)DisjunctiveLicenseSet(AnyLicenseInfo[] disjunctiveLicenses)LicenseSet(AnyLicenseInfo[] licenseInfos)WithExceptionOperator(AnyLicenseInfo license, LicenseException exception) -
Uses of AnyLicenseInfo in org.spdx.rdfparser.model
Methods in org.spdx.rdfparser.model that return AnyLicenseInfo Modifier and Type Method Description protected AnyLicenseInfoSpdxItem. cloneLicenseConcluded()protected AnyLicenseInfo[]SpdxItem. cloneLicenseInfosFromFiles()AnyLicenseInfoRdfModelObject. findAnyLicenseInfoPropertyValue(String namespace, String propertyName)Find a property value with a subject of this objectAnyLicenseInfo[]RdfModelObject. findAnyLicenseInfoPropertyValues(String namespace, String propertyName)Find a property value with a subject of this objectAnyLicenseInfoSpdxFile. getConcludedLicenses()Deprecated.AnyLicenseInfoSpdxPackage. getConcludedLicenses()Deprecated.AnyLicenseInfoSpdxDocument. getDataLicense()AnyLicenseInfoSpdxPackage. getDeclaredLicense()Deprecated.AnyLicenseInfoSpdxItem. getLicenseConcluded()AnyLicenseInfoSpdxPackage. getLicenseDeclared()AnyLicenseInfo[]SpdxItem. getLicenseInfoFromFiles()AnyLicenseInfo[]SpdxFile. getSeenLicenses()Deprecated.Methods in org.spdx.rdfparser.model with parameters of type AnyLicenseInfo Modifier and Type Method Description voidRdfModelObject. addPropertyValue(String nameSpace, String propertyName, AnyLicenseInfo license)Add a property value of type AnyLicenseInfo without removing the existing property valuesvoidSpdxFile. setConcludedLicenses(AnyLicenseInfo concludedLicense)Deprecated.voidSpdxDocument. setDataLicense(AnyLicenseInfo dataLicense)voidSpdxItem. setLicenseConcluded(AnyLicenseInfo licenseConcluded)voidSpdxPackage. setLicenseDeclared(AnyLicenseInfo licenseDeclared)voidSpdxItem. setLicenseInfosFromFiles(AnyLicenseInfo[] licenseInfoFromFiles)protected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, AnyLicenseInfo license)Set a property value for this resource.voidRdfModelObject. setPropertyValues(String nameSpace, String propertyName, AnyLicenseInfo[] licenses)Set a property value for this resource.voidSpdxFile. setSeenLicenses(AnyLicenseInfo[] seenLicenses)Deprecated.Constructors in org.spdx.rdfparser.model with parameters of type AnyLicenseInfo Constructor Description SpdxFile(String name, String comment, Annotation[] annotations, Relationship[] relationships, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfoInFile, String copyrightText, String licenseComment, SpdxFile.FileType[] fileTypes, Checksum[] checksums, String[] fileContributors, String noticeText, DoapProject[] artifactOf)SpdxFile(String fileName, SpdxFile.FileType[] fileTypes, String sha1Value, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfoInFiles, String licenseComment, String copyrightText, DoapProject[] artifactOfs, String fileComment)SpdxItem(String name, String comment, Annotation[] annotations, Relationship[] relationships, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfoFromFiles, String copyrightText, String licenseComment)SpdxItem(String name, String comment, Annotation[] annotations, Relationship[] relationships, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfoFromFiles, String copyrightText, String licenseComment, String[] attributionText)SpdxPackage(String name, String comment, Annotation[] annotations, Relationship[] relationships, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfosFromFiles, String copyrightText, String licenseComment, AnyLicenseInfo licenseDeclared, Checksum[] checksums, String description, String downloadLocation, SpdxFile[] files, String homepage, String originator, String packageFileName, SpdxPackageVerificationCode packageVerificationCode, String sourceInfo, String summary, String supplier, String versionInfo)SpdxPackage(String name, String comment, Annotation[] annotations, Relationship[] relationships, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfosFromFiles, String copyrightText, String licenseComment, AnyLicenseInfo licenseDeclared, Checksum[] checksums, String description, String downloadLocation, SpdxFile[] files, String homepage, String originator, String packageFileName, SpdxPackageVerificationCode packageVerificationCode, String sourceInfo, String summary, String supplier, String versionInfo, boolean filesAnalyzed, ExternalRef[] externalRefs)SpdxPackage(String name, String comment, Annotation[] annotations, Relationship[] relationships, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfosFromFiles, String copyrightText, String licenseComment, AnyLicenseInfo licenseDeclared, Checksum[] checksums, String description, String downloadLocation, SpdxFile[] files, String homepage, String originator, String packageFileName, SpdxPackageVerificationCode packageVerificationCode, String sourceInfo, String summary, String supplier, String versionInfo, boolean filesAnalyzed, ExternalRef[] externalRefs, String[] attributionText)SpdxPackage(String name, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfosFromFiles, String copyrightText, AnyLicenseInfo licenseDeclared, String downloadLocation, SpdxFile[] files, SpdxPackageVerificationCode packageVerificationCode)SpdxSnippet(String name, String comment, Annotation[] annotations, Relationship[] relationships, AnyLicenseInfo licenseConcluded, AnyLicenseInfo[] licenseInfoInFile, String copyrightText, String licenseComment, SpdxFile snippetFromFile, StartEndPointer byteRange, StartEndPointer lineRange) -
Uses of AnyLicenseInfo in org.spdx.spdxspreadsheet
Methods in org.spdx.spdxspreadsheet with parameters of type AnyLicenseInfo Modifier and Type Method Description static StringPackageInfoSheet. licensesToString(AnyLicenseInfo[] licenses)