Uses of Class
org.spdx.rdfparser.InvalidSPDXAnalysisException
| Package | Description |
|---|---|
| org.spdx.compare | |
| org.spdx.html | |
| 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.rdfparser.model.pointer |
RDF model classes which implement the proposed W3C Pointer classes.
|
| org.spdx.rdfparser.referencetype |
Classes related to external reference types.
|
| org.spdx.spdxspreadsheet | |
| org.spdx.tag | |
| org.spdx.tools |
-
Uses of InvalidSPDXAnalysisException in org.spdx.compare
Methods in org.spdx.compare that throw InvalidSPDXAnalysisException Modifier and Type Method Description protected SpdxFile[]SpdxComparer. collectAllFiles(SpdxDocument spdxDocument)Collect all of the files present in the SPDX document including files within documents and files embedded in packagesprotected SpdxPackage[]SpdxComparer. collectAllPackages(SpdxDocument spdxDocument)Collect all of the packages present in the SPDX document including packages embedded in other relationships within documentsvoidSpdxComparer. compare(SpdxDocument[] spdxDocuments)Compares multiple SPDX documentsvoidSpdxComparer. compare(SpdxDocument spdxDoc1, SpdxDocument spdxDoc2)Compares 2 SPDX documentsstatic StringCompareHelper. externalRefsToString(ExternalRef[] externalRefs, String docNamespace)Convert external refs to a friendly stringstatic StringCompareHelper. externalRefToString(ExternalRef externalRef, String docNamespace)Convert a single external ref to a friendly stringstatic ExternalDocumentRef[]SpdxComparer. findUniqueExternalDocumentRefs(ExternalDocumentRef[] externalDocRefsA, ExternalDocumentRef[] externalDocRefsB)Find unique relationships that are present in relationshipsA but not relationshipsBvoidCreatorSheet. importCompareResults(SpdxComparer comparer, String[] docNames)voidDocumentAnnotationSheet. importCompareResults(SpdxComparer comparer, String[] docNames)voidDocumentRelationshipSheet. importCompareResults(SpdxComparer comparer, String[] docNames)voidDocumentSheet. importCompareResults(SpdxComparer comparer, String[] docNames)Import compare results from a comparisonvoidExternalReferencesSheet. importCompareResults(SpdxComparer comparer, String[] docNames)voidExtractedLicenseSheet. importCompareResults(SpdxComparer comparer, String[] docNames)voidMultiDocumentSpreadsheet. importCompareResults(SpdxComparer comparer, String[] docNames)voidPackageSheet. importCompareResults(SpdxComparer comparer, String[] docNames)voidReviewerSheet. importCompareResults(SpdxComparer comparer, String[] docNames)voidSnippetSheet. importCompareResults(SpdxComparer comparer, String[] docNames)static String[]LicenseCompareHelper. matchingStandardLicenseIds(String licenseText)Returns a list of SPDX Standard License ID's that match the text provided using the SPDX matching guidelines.static SpdxFile.FileType[]CompareHelper. parseFileTypeString(String typeStr)static Checksum[]CompareHelper. strToChecksums(String checksumsString)Constructors in org.spdx.compare that throw InvalidSPDXAnalysisException 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) -
Uses of InvalidSPDXAnalysisException in org.spdx.html
Methods in org.spdx.html that throw InvalidSPDXAnalysisException Modifier and Type Method Description static Map<String,Object>MustacheMap. buildDocFileMustacheMap(SpdxDocument doc, SpdxFile[] files, Map<String,String> spdxIdToUrl, Map<String,List<SpdxSnippet>> fileIdToSnippets)static Map<String,Object>MustacheMap. buildDocMustachMap(SpdxDocument doc, Map<String,String> spdxIdToUrl)static Map<String,Object>MustacheMap. buildPkgFileMap(SpdxPackage pkg, Map<String,String> spdxIdToUrl, Map<String,List<SpdxSnippet>> fileIdToSnippets)Constructors in org.spdx.html with parameters of type InvalidSPDXAnalysisException Constructor Description ElementContext(InvalidSPDXAnalysisException e)ExtractedLicensingInfoContext(InvalidSPDXAnalysisException e)FileContext(InvalidSPDXAnalysisException e)ReviewerContext(InvalidSPDXAnalysisException e)Add a reviewer which will return an error for any of the methods called This may be considered a bit of a kludge for the error reporting, so feel free to implement a better approachSnippetContext(InvalidSPDXAnalysisException e)VerificationCodeContext(InvalidSPDXAnalysisException e)Constructors in org.spdx.html that throw InvalidSPDXAnalysisException Constructor Description PackageContext(SpdxPackage pkg, Map<String,String> spdxIdToUrl) -
Uses of InvalidSPDXAnalysisException in org.spdx.merge
Methods in org.spdx.merge that throw InvalidSPDXAnalysisException Modifier and Type Method Description String[]SpdxPackageInfoMerger. collectSkippedFiles(SpdxPackage main, SpdxPackage sub)A method to collect all skipped files from input SPDX package.SpdxFile[]SpdxFileInfoMerger. mergeFileInfo(SpdxDocument[] subDocs)ExtractedLicenseInfo[]SpdxLicenseInfoMerger. mergeNonStdLic(SpdxDocument[] subDocs)List<SpdxPackage>SpdxPackageInfoMerger. mergePackagesInfo(SpdxFile[] fileMergeResult)A method to merge all packages' information from sub list documents into master documentSpdxFileSpdxLicenseMapper. replaceNonStdLicInFile(SpdxDocument spdxDoc, SpdxFile subFileInfo)a method gets a sub SPDX document and its file information.StringSpdxPackageInfoMerger. translateSubDelcaredLicsIntoComments(SpdxDocument[] subDocs)Deprecated. -
Uses of InvalidSPDXAnalysisException in org.spdx.rdfparser
Subclasses of InvalidSPDXAnalysisException in org.spdx.rdfparser Modifier and Type Class Description classNonNumericLicenseIdExceptionException for non standard license IDs where a numeric value is expected and no numeric value is foundMethods in org.spdx.rdfparser that throw InvalidSPDXAnalysisException Modifier and Type Method Description voidSpdxDocumentContainer. addElement(SpdxElement element)Add an SPDX element directly to the model without connecting it to any propertiesvoidSpdxDocumentContainer. addExtractedLicenseInfos(ExtractedLicenseInfo license)voidSPDXDocument.SPDXPackage. addFile(SPDXFile file)Deprecated.Add a file to the packageExtractedLicenseInfoSPDXDocument. addNewExtractedLicenseInfo(String licenseText)Deprecated.Adds a new non-standard license containing the text provided.voidSPDXDocument. addNewExtractedLicenseInfo(ExtractedLicenseInfo license)Deprecated.Adds the license as a new ExtractedLicenseInfoExtractedLicenseInfoSpdxDocumentContainer. addNewExtractedLicenseInfo(String licenseText)Adds a new non-standard license containing the text provided.voidSpdxDocumentContainer. addNewExtractedLicenseInfo(ExtractedLicenseInfo license)Adds the license as a new ExtractedLicenseInfovoidIModelContainer. addSpdxElementRef(String elementRef)Notifies the model container that a new element ref is in use.voidSPDXDocument. addSpdxElementRef(String elementRef)Deprecated.voidSpdxDocumentContainer. addSpdxElementRef(String elementRef)static StringSPDXChecksum. algorithmResourceToString(org.apache.jena.rdf.model.Resource algorithmResource)Deprecated.static org.apache.jena.rdf.model.ResourceSPDXChecksum. algorithmStringToResource(String algorithm, org.apache.jena.rdf.model.Model model)Deprecated.Converts a string algorithm to an RDF resourceSPDXDocument.SPDXPackageSPDXDocument.SPDXPackage. clone(SPDXDocument docToCloneTo, String packageUri)Deprecated.Clones a deep copy of all fields to a new SPDXPackage contained in the docToCloneTo SPDXDocument.SPDXFileSPDXFile. clone(SPDXDocument doc, String fileUri)Deprecated.Create a deep copy or clone of this file including all properties.static org.apache.jena.rdf.model.ResourceRdfParserHelper. convertToResource(org.apache.jena.rdf.model.Model cmodel, org.apache.jena.graph.Node cnode)Convert a node to a resourcestatic SPDXDocumentSPDXDocumentFactory. createLegacySpdxDocument(InputStream input, String baseUri, String fileType)static SPDXDocumentSPDXDocumentFactory. createLegacySpdxDocument(String fileNameOrUrl)Create an Legacy SPDX Document from a file - Legacy SPDX documents only specification version 1.2 featuresstatic SPDXDocumentSPDXDocumentFactory. createLegacySpdxDocument(org.apache.jena.rdf.model.Model model)Create a new Legacy SPDX Document populating the data from the existing model Legacy SPDX documents only specification version 1.2 featuresorg.apache.jena.rdf.model.ResourceSPDXFile. createResource(SPDXDocument doc, String uri)Deprecated.Create a resource for this SPDX filevoidSPDXDocument. createSpdxAnalysis(String uri)Deprecated.Creates a new empty SPDX Document with the current SPDX document version.voidSPDXDocument. createSpdxAnalysis(String uri, String spdxVersion)Deprecated.Creates a new empty SPDX Document.static SpdxDocumentSPDXDocumentFactory. createSpdxDocument(InputStream input, String baseUri, String fileType)static SpdxDocumentSPDXDocumentFactory. createSpdxDocument(String fileNameOrUrl)Create an SPDX Document from a filestatic SpdxDocumentSPDXDocumentFactory. createSpdxDocument(org.apache.jena.rdf.model.Model model)Create a new SPDX Document populating the data from the existing modelvoidSPDXDocument. createSpdxPackage()Deprecated.SPDXDocument.SPDXPackageSPDXDocument. createSpdxPackage(String uri)Deprecated.Creates an empty SPDX packageprotected booleanSPDXDocument. extractedLicenseExists(String id)Deprecated.booleanSpdxDocumentContainer. extractedLicenseExists(String id)static StringSPDXFile. fileTypeResourceToString(org.apache.jena.rdf.model.Resource fileTypeResource)Deprecated.static org.apache.jena.rdf.model.ResourceSPDXFile. fileTypeStringToTypeResource(String fileType, org.apache.jena.rdf.model.Model model)Deprecated.Converts a string file type to an RDF resourceList<SpdxElement>SpdxDocumentContainer. findAllElements()Returns all elements in the containsList<SpdxFile>SpdxDocumentContainer. findAllFiles()List<SpdxPackage>SpdxDocumentContainer. findAllPackages()List<SpdxSnippet>SpdxDocumentContainer. findAllSnippets()SpdxElementSpdxDocumentContainer. findElementById(String id)Find an element within the container by the SPDX Identifier.protected static org.apache.jena.rdf.model.ResourceSPDXFile. findFileResource(org.apache.jena.rdf.model.Model model, SPDXFile spdxFile)Deprecated.Finds the resource for an existing file in the modelprotected static org.apache.jena.rdf.model.ResourceSPDXChecksum. findSpdxChecksum(org.apache.jena.rdf.model.Model model, SPDXChecksum checksum)Deprecated.AnyLicenseInfoSPDXDocument.SPDXPackage. getConcludedLicenses()Deprecated.StringSPDXDocument. getCreated()Deprecated.StringSPDXDocument. getCreatorComment()Deprecated.SPDXCreatorInformationSPDXDocument. getCreatorInfo()Deprecated.String[]SPDXDocument. getCreators()Deprecated.SpdxListedLicenseSPDXDocument. getDataLicense()Deprecated.StringSPDXDocument.SPDXPackage. getDeclaredCopyright()Deprecated.AnyLicenseInfoSPDXDocument.SPDXPackage. getDeclaredLicense()Deprecated.StringSPDXDocument.SPDXPackage. getDeclaredName()Deprecated.StringSPDXDocument.SPDXPackage. getDescription()Deprecated.StringSPDXDocument. getDocumentComment()Deprecated.StringSPDXDocument.SPDXPackage. getDownloadUrl()Deprecated.ExtractedLicenseInfoSpdxDocumentContainer. getExtractedLicense(String id)ExtractedLicenseInfo[]SPDXDocument. getExtractedLicenseInfos()Deprecated.voidSpdxDocumentContainer. getExtractedLicenseInfosFromModel()Get Update the extrated license infos from the model and resynchronize it with the license cache.StringSPDXDocument.SPDXPackage. getFileName()Deprecated.SPDXFile[]SPDXDocument. getFileReferences()Deprecated.SpdxFile[]SpdxDocumentContainer. getFileReferences()get all file references contained within the containerSPDXFile[]SPDXDocument.SPDXPackage. getFiles()Deprecated.StringSPDXDocument.SPDXPackage. getHomePage()Deprecated.StringSPDXDocument.SPDXPackage. getLicenseComment()Deprecated.AnyLicenseInfo[]SPDXDocument.SPDXPackage. getLicenseInfoFromFiles()Deprecated.StringSPDXDocument.SPDXPackage. getOriginator()Deprecated.SPDXPackageInfoSPDXDocument.SPDXPackage. getPackageInfo()Deprecated.SPDXReview[]SPDXDocument. getReviewers()Deprecated.StringSPDXDocument.SPDXPackage. getSha1()Deprecated.StringSPDXDocument.SPDXPackage. getShortDescription()Deprecated.StringSPDXDocument.SPDXPackage. getSourceInfo()Deprecated.SPDXDocument.SPDXPackageSPDXDocument. getSpdxPackage()Deprecated.StringSPDXDocument. getSpdxVersion()Deprecated.static SpdxListedLicenseSPDXLicenseInfoFactory. getStandardLicenseById(String licenseId)Deprecated.StringSPDXDocument.SPDXPackage. getSupplier()Deprecated.SpdxPackageVerificationCodeSPDXDocument.SPDXPackage. getVerificationCode()Deprecated.StringSPDXDocument.SPDXPackage. getVersionInfo()Deprecated.protected voidSPDXDocument. initializeNextLicenseRef()Deprecated.Initialize the next license reference by scanning all of the existing non-standard licensesprotected voidSPDXDocument. initializeNextLicenseRef(ExtractedLicenseInfo[] existingLicenses)Deprecated.voidSpdxDocumentContainer. initializeNextLicenseRef()Initialize the next license reference and the cache of extracted license infosvoidSPDXDocument.SPDXPackage. removeFile(String fileName)Deprecated.Removes all SPDX files by the given namevoidSPDXChecksum. setAlgorithm(String algorithm)Deprecated.voidSPDXDocument.SPDXPackage. setConcludedLicenses(AnyLicenseInfo detectedLicenses)Deprecated.voidSPDXFile. setConcludedLicenses(AnyLicenseInfo fileLicenses)Deprecated.voidSPDXDocument. setCreationInfo(SPDXCreatorInformation creator)Deprecated.voidSPDXDocument. setDataLicense(SpdxListedLicense dataLicense)Deprecated.voidSPDXDocument.SPDXPackage. setDeclaredCopyright(String declaredCopyright)Deprecated.voidSPDXDocument.SPDXPackage. setDeclaredLicense(AnyLicenseInfo declaredLicense)Deprecated.voidSPDXDocument.SPDXPackage. setDeclaredName(String declaredName)Deprecated.voidSPDXDocument.SPDXPackage. setDescription(String description)Deprecated.voidSPDXDocument. setDocumentComment(String comment)Deprecated.voidSPDXDocument.SPDXPackage. setDownloadUrl(String url)Deprecated.voidSpdxDocumentContainer. setExternalDocumentRefs(ExternalDocumentRef[] externalDocumentRefs)voidSPDXDocument. setExtractedLicenseInfos(ExtractedLicenseInfo[] nonStandardLicenses)Deprecated.Resets all ExtractedLicenseInfos to nonStandardLicenses.voidSpdxDocumentContainer. setExtractedLicenseInfos(ExtractedLicenseInfo[] extractedLicenseInfos)voidSPDXFile. setFileDependencies(SPDXFile[] fileDependencies, SPDXDocument doc)Deprecated.Set the file dependencies for this filevoidSPDXDocument.SPDXPackage. setFileName(String fileName)Deprecated.voidSPDXDocument.SPDXPackage. setFiles(SPDXFile[] files)Deprecated.voidSPDXDocument.SPDXPackage. setHomePage(String url)Deprecated.voidSPDXDocument.SPDXPackage. setLicenseComment(String comments)Deprecated.voidSPDXDocument.SPDXPackage. setLicenseInfoFromFiles(AnyLicenseInfo[] licenseInfo)Deprecated.voidSPDXDocument. setModel(org.apache.jena.rdf.model.Model model)Deprecated.voidSPDXDocument.SPDXPackage. setOriginator(String originator)Deprecated.Set the originatorvoidSPDXDocument. setReviewers(SPDXReview[] reviewers)Deprecated.voidSPDXFile. setSeenLicenses(AnyLicenseInfo[] seenLicenses)Deprecated.voidSPDXDocument.SPDXPackage. setSha1(String sha1)Deprecated.voidSPDXDocument.SPDXPackage. setShortDescription(String shortDescription)Deprecated.voidSPDXDocument.SPDXPackage. setSourceInfo(String sourceInfo)Deprecated.voidSPDXDocument. setSpdxVersion(String spdxVersion)Deprecated.voidSPDXDocument.SPDXPackage. setSupplier(String supplier)Deprecated.Set the SuppliervoidSPDXFile. setType(String type)Deprecated.voidDOAPProject. setUri(String uri)Deprecated.voidSPDXDocument.SPDXPackage. setVerificationCode(SpdxPackageVerificationCode verificationCode)Deprecated.voidSPDXDocument.SPDXPackage. setVersionInfo(String versionInfo)Deprecated.Set the version information of the packageConstructors in org.spdx.rdfparser that throw InvalidSPDXAnalysisException Constructor Description DOAPProject(org.apache.jena.rdf.model.Model model, org.apache.jena.graph.Node node)Deprecated.SPDXChecksum(org.apache.jena.rdf.model.Model spdxModel, org.apache.jena.graph.Node checksumNode)Deprecated.SPDXCreatorInformation(org.apache.jena.rdf.model.Model spdxModel, org.apache.jena.graph.Node creatorNode)SPDXDocument(org.apache.jena.rdf.model.Model model)Deprecated.SpdxDocumentContainer(String uri)Creates a new empty SPDX Document with the current SPDX document version.SpdxDocumentContainer(String uri, String spdxVersion)Creates a new empty SPDX Document.SpdxDocumentContainer(org.apache.jena.rdf.model.Model model)Construct an SpdxDocumentContainer from an existing model which already contain an SPDX DocumentSPDXFile(IModelContainer modelContainer, org.apache.jena.graph.Node fileNode)Deprecated.Construct an SPDX File form the fileNodeSpdxPackageVerificationCode(org.apache.jena.rdf.model.Model model, org.apache.jena.graph.Node verificationCodeNode)SPDXReview(org.apache.jena.rdf.model.Model model, org.apache.jena.graph.Node reviewerNode) -
Uses of InvalidSPDXAnalysisException in org.spdx.rdfparser.license
Subclasses of InvalidSPDXAnalysisException in org.spdx.rdfparser.license Modifier and Type Class Description classDuplicateExtractedLicenseIdExceptionA duplicate license ID for an extracted licenseclassLicenseParserExceptionException caused by an invalid license expressionclassNoListedLicenseRdfModelMethods in org.spdx.rdfparser.license that throw InvalidSPDXAnalysisException Modifier and Type Method Description protected org.apache.jena.rdf.model.ResourceWithExceptionOperator. _createResource(org.apache.jena.rdf.model.Resource type)voidLicenseException. copyFrom(LicenseException exception)Copy all of the parameters from another licenseorg.apache.jena.rdf.model.ResourceLicenseException. createResource(IModelContainer modelContainer)If a resource does not already exist in this model for this object, create a new resource and populate it.org.apache.jena.rdf.model.ResourceSimpleLicensingInfo. findDuplicateResource(IModelContainer modelContainer, String uri)protected ListedLicenseExceptionListedExceptions. getExceptionFromUri(String uri)Get a listed exception based on a URI.ListedLicenseExceptionListedExceptions. getLicenseFromStdLicModel(IModelContainer modelContainer, org.apache.jena.graph.Node node)Get or create a standard exception in the model container copying any relevant information from the standard model to the model in the modelContainerAnyLicenseInfoListedLicenses. 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 modelContainerprotected SpdxListedLicenseListedLicenses. getLicenseFromUri(String uri)Get a listed license based on a URI.static AnyLicenseInfoLicenseInfoFactory. getLicenseInfoFromModel(IModelContainer modelContainer, org.apache.jena.graph.Node node)Create the appropriate SPDXLicenseInfo from the model and node provided.static LicenseExceptionLicenseInfoFactory. getListedExceptionById(String id)ListedLicenseExceptionListedExceptions. getListedExceptionById(String id)static SpdxListedLicenseLicenseInfoFactory. getListedLicenseById(String licenseId)SpdxListedLicenseListedLicenses. getListedLicenseById(String licenseId)voidExtractedLicenseInfo. getPropertiesFromModel()voidLicense. getPropertiesFromModel()voidLicenseSet. getPropertiesFromModel()voidOrLaterOperator. getPropertiesFromModel()voidSimpleLicensingInfo. getPropertiesFromModel()voidSpdxNoAssertionLicense. getPropertiesFromModel()voidSpdxNoneLicense. getPropertiesFromModel()voidWithExceptionOperator. getPropertiesFromModel()StringConjunctiveLicenseSet. getUri(IModelContainer modelContainer)StringDisjunctiveLicenseSet. getUri(IModelContainer modelContainer)protected StringLicenseException. getUri(IModelContainer modelContainer)StringListedLicenseException. getUri(IModelContainer modelContainer)StringOrLaterOperator. getUri(IModelContainer modelContainer)StringSimpleLicensingInfo. getUri(IModelContainer modelContainer)StringSpdxListedLicense. getUri(IModelContainer modelContainer)StringSpdxNoAssertionLicense. getUri(IModelContainer modelContainer)StringSpdxNoneLicense. getUri(IModelContainer modelContainer)StringWithExceptionOperator. getUri(IModelContainer modelContainer)abstract voidAnyLicenseInfo. populateModel()voidExtractedLicenseInfo. populateModel()voidLicense. populateModel()voidLicenseSet. populateModel()voidOrLaterOperator. populateModel()voidSimpleLicensingInfo. populateModel()voidSpdxNoAssertionLicense. populateModel()voidSpdxNoneLicense. populateModel()voidWithExceptionOperator. populateModel()voidWithExceptionOperator. setException(LicenseException exception)voidOrLaterOperator. setLicense(SimpleLicensingInfo license)voidWithExceptionOperator. setLicense(AnyLicenseInfo license)voidLicenseException. setLicenseExceptionId(String id)voidLicenseSet. setMembers(AnyLicenseInfo[] licenseInfos)Sets the members of the license set.Constructors in org.spdx.rdfparser.license that throw InvalidSPDXAnalysisException Constructor Description ConjunctiveLicenseSet(IModelContainer modelContainer, org.apache.jena.graph.Node node)DisjunctiveLicenseSet(IModelContainer modelContainer, org.apache.jena.graph.Node licenseInfoNode)ExtractedLicenseInfo(IModelContainer modelContainer, org.apache.jena.graph.Node licenseInfoNode)License(String name, String id, String text, String[] sourceUrl, String[] sourceUrlDetails, String comments, String standardLicenseHeader, String template, String standardLicenseHeaderTemplate, boolean osiApproved, Boolean fsfLibre)License(String name, String id, String text, String[] sourceUrl, String comments, String standardLicenseHeader, String template, boolean osiApproved)License(String name, String id, String text, String[] sourceUrl, String comments, String standardLicenseHeader, String template, boolean osiApproved, Boolean fsfLibre)License(String name, String id, String text, String[] sourceUrl, String comments, String standardLicenseHeader, String template, String standardLicenseHeaderTemplate, boolean osiApproved, Boolean fsfLibre)License(IModelContainer modelContainer, org.apache.jena.graph.Node licenseNode)Constructs an SPDX License from the licenseNodeLicenseException(IModelContainer modelContainer, org.apache.jena.graph.Node node)LicenseSet(IModelContainer modelContainer, org.apache.jena.graph.Node licenseInfoNode)ListedLicenseException(IModelContainer modelContainer, org.apache.jena.graph.Node node)OrLaterOperator(IModelContainer modelContainer, org.apache.jena.graph.Node licenseInfoNode)Create an OrLaterOperator from a node in an existing RDF modelSpdxListedLicense(String name, String id, String text, String[] sourceUrl, String[] sourceUrlDetails, String comments, String standardLicenseHeader, String template, String licenseHeaderTemplate, boolean osiApproved, Boolean fsfLibre)SpdxListedLicense(String name, String id, String text, String[] sourceUrl, String comments, String standardLicenseHeader, String template, boolean osiApproved)SpdxListedLicense(String name, String id, String text, String[] sourceUrl, String comments, String standardLicenseHeader, String template, boolean osiApproved, boolean fsfLibre)SpdxListedLicense(String name, String id, String text, String[] sourceUrl, String comments, String standardLicenseHeader, String template, boolean osiApproved, Boolean fsfLibre, String licenseTextHtml, boolean isDeprecated, String deprecatedVersion)SpdxListedLicense(String name, String id, String text, String[] sourceUrl, String comments, String standardLicenseHeader, String template, boolean osiApproved, String licenseTextHtml)SpdxListedLicense(String name, String id, String text, String[] sourceUrl, String comments, String standardLicenseHeader, String template, String licenseHeaderTemplate, boolean osiApproved, boolean fsfLibre, String licenseTextHtml, String licenseHeaderHtml)SpdxListedLicense(String name, String id, String text, String[] sourceUrl, String comments, String standardLicenseHeader, String template, String licenseHeaderTemplate, boolean osiApproved, Boolean fsfLibre)SpdxListedLicense(IModelContainer modelContainer, org.apache.jena.graph.Node licenseNode)Constructs an SPDX License from the licenseNodeSpdxNoAssertionLicense(IModelContainer container, org.apache.jena.graph.Node licenseInfoNode)SpdxNoneLicense(IModelContainer container, org.apache.jena.graph.Node node)WithExceptionOperator(IModelContainer modelContainer, org.apache.jena.graph.Node licenseInfoNode)Create a WithExceptionOperator from a node in an existing RDF model -
Uses of InvalidSPDXAnalysisException in org.spdx.rdfparser.model
Methods in org.spdx.rdfparser.model that throw InvalidSPDXAnalysisException Modifier and Type Method Description voidSpdxElement. addAnnotation(Annotation annotation)voidSpdxFile. addChecksum(Checksum checksum)Add a checksumvoidSpdxPackage. addChecksum(Checksum checksum)Add a checksum to the list of checksums for this packagevoidSpdxPackage. addExternalRef(ExternalRef externalRef)voidSpdxDocument. addExtractedLicenseInfos(ExtractedLicenseInfo license)voidSpdxPackage. addFile(SpdxFile file)Add a file to the list of files attached to this packagevoidSpdxFile. addFileType(SpdxFile.FileType fileType)Add a file type to this fileprotected voidRdfModelObject. addPropertyUriValue(String nameSpace, String propertyName, String uri)Adds a property value as a list of UrisvoidRdfModelObject. addPropertyValue(String nameSpace, String propertyName, AnyLicenseInfo license)Add a property value of type AnyLicenseInfo without removing the existing property valuesprotected voidRdfModelObject. addPropertyValue(String nameSpace, String propertyName, Annotation annotation)protected voidRdfModelObject. addPropertyValue(String nameSpace, String propertyName, Checksum checksumValue)Add a checksum as a property to this resourceprotected voidRdfModelObject. addPropertyValue(String nameSpace, String propertyName, ExternalRef externalRef)protected voidRdfModelObject. addPropertyValue(String nameSpace, String propertyName, Relationship relationship)Add a relationship property valueprotected voidRdfModelObject. addPropertyValue(String nameSpace, String propertyName, SpdxElement element)Adds an SPDX element property value for this resource without removing the old property valuesprotected voidRdfModelObject. addPropertyValue(String nameSpace, String propertyName, SpdxElement element, boolean updateModel)Adds an SPDX element property value for this resource without removing the old property valuesvoidSpdxElement. addRelationship(Relationship relationship)static SpdxElementSpdxElementFactory. createElementFromModel(IModelContainer modelContainer, org.apache.jena.graph.Node node)org.apache.jena.rdf.model.ResourceIRdfModel. createResource(IModelContainer modelContainer)Create a resource from the Java model objectorg.apache.jena.rdf.model.ResourceRdfModelObject. createResource(IModelContainer modelContainer)org.apache.jena.rdf.model.ResourceRdfModelObject. createResource(IModelContainer modelContainer, boolean updateModel)protected Annotation[]RdfModelObject. findAnnotationPropertyValues(String nameSpace, String propertyName)Find all annotations with a subject of this objectAnyLicenseInfoRdfModelObject. 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 objectprotected ChecksumRdfModelObject. findChecksumPropertyValue(String nameSpace, String propertyName)protected SPDXCreatorInformationRdfModelObject. findCreationInfoPropertyValue(String nameSpace, String propertyName)org.apache.jena.rdf.model.ResourceChecksum. findDuplicateResource(IModelContainer modelContainer, String uri)org.apache.jena.rdf.model.ResourceExternalRef. findDuplicateResource(IModelContainer modelContainer, String uri)org.apache.jena.rdf.model.ResourceRdfModelObject. findDuplicateResource(IModelContainer modelContainer, String uri)Search the model to see if there is a duplicate resource either based on the URI or based on other information.org.apache.jena.rdf.model.ResourceSpdxFile. findDuplicateResource(IModelContainer modelContainer, String uri)org.apache.jena.rdf.model.ResourceSpdxPackage. findDuplicateResource(IModelContainer modelContainer, String uri)org.apache.jena.rdf.model.ResourceSpdxSnippet. findDuplicateResource(IModelContainer modelContainer, String uri)protected SpdxElementRdfModelObject. findElementPropertyValue(String namespace, String propertyName)Find an SPDX element with a subject of this objectExternalDocumentRef[]RdfModelObject. findExternalDocRefPropertyValues(String nameSpace, String propertyName)static ExternalDocumentRef[]RdfModelObject. findExternalDocRefPropertyValues(String nameSpace, String propertyName, IModelContainer extDocModelContainer, org.apache.jena.graph.Node nodeContainingExternalRefs)protected ExternalRef[]RdfModelObject. findExternalRefPropertyValues(String nameSpace, String propertyName)protected static org.apache.jena.rdf.model.ResourceSpdxFile. findFileResource(IModelContainer modelContainer, SpdxFile spdxFile)Finds the resource for an existing file in the modelprotected Checksum[]RdfModelObject. findMultipleChecksumPropertyValues(String nameSpace, String propertyName)protected DoapProject[]RdfModelObject. findMultipleDoapPropertyValues(String nameSpace, String propertyName)protected SpdxElement[]RdfModelObject. findMultipleElementPropertyValues(String namespace, String propertyName)Finds all SPDX elements with a subject of this objectprotected ReferenceTypeRdfModelObject. findReferenceTypePropertyValue(String nameSpace, String propertyName)Find the reference type within a specific property in the model for this nodeprotected Relationship[]RdfModelObject. findRelationshipPropertyValues(String nameSpace, String propertyName)Find all annotations with a subject of this objectprotected SPDXReview[]RdfModelObject. findReviewPropertyValues(String nameSpace, String propertyName)protected SinglePointerRdfModelObject. findSinglePointerPropertyValue(String nameSpace, String propertyName)protected static org.apache.jena.rdf.model.ResourceChecksum. findSpdxChecksum(org.apache.jena.rdf.model.Model model, Checksum checksum)protected StartEndPointer[]RdfModelObject. findStartEndPointerPropertyValues(String nameSpace, String propertyName)Find all StartEndPointers assocated with a propertyprotected SpdxPackageVerificationCodeRdfModelObject. findVerificationCodePropertyValue(String nameSpace, String propertyName)StartEndPointerSpdxSnippet. getByteRange()ChecksumExternalDocumentRef. getChecksum()Checksum[]SpdxPackage. getChecksums()SPDXCreatorInformationSpdxDocument. getCreationInfo()SPDXCreatorInformationSpdxDocument. getCreatorInfo()Deprecated.AnyLicenseInfoSpdxDocument. getDataLicense()AnyLicenseInfoSpdxPackage. getDeclaredLicense()Deprecated.SpdxItem[]SpdxDocument. getDocumentDescribes()StringSpdxDocument. getDocumentNamespace()StringSpdxDocument. getDocumentUri()StringExternalSpdxElement. getExternalDocumentId()ExternalDocumentRef[]SpdxDocument. getExternalDocumentRefs()StringExternalSpdxElement. getExternalElementId()ExternalRef[]SpdxPackage. getExternalRefs()ExtractedLicenseInfo[]SpdxDocument. getExtractedLicenseInfos()SpdxFile[]SpdxPackage. getFiles()SpdxFile[]SpdxPackage. getFiles(boolean checkRelationships)AnyLicenseInfoSpdxPackage. getLicenseDeclared()StartEndPointerSpdxSnippet. getLineRange()SpdxPackageVerificationCodeSpdxPackage. getPackageVerificationCode()voidAnnotation. getPropertiesFromModel()voidChecksum. getPropertiesFromModel()voidDoapProject. getPropertiesFromModel()voidExternalDocumentRef. getPropertiesFromModel()voidExternalRef. getPropertiesFromModel()voidExternalSpdxElement. getPropertiesFromModel()abstract voidRdfModelObject. getPropertiesFromModel()Fetch all of the properties from the model and populate the local Java propertiesvoidRelationship. getPropertiesFromModel()voidSpdxConstantElement. getPropertiesFromModel()voidSpdxDocument. getPropertiesFromModel()voidSpdxElement. getPropertiesFromModel()voidSpdxFile. getPropertiesFromModel()voidSpdxItem. getPropertiesFromModel()voidSpdxPackage. getPropertiesFromModel()voidSpdxSnippet. getPropertiesFromModel()ReferenceTypeExternalRef. getReferenceType()SPDXReview[]SpdxDocument. getReviewers()Deprecated.SpdxFileSpdxSnippet. getSnippetFromFile()SpdxPackageSpdxDocument. getSpdxPackage()Deprecated.StringExternalRef. getUri(IModelContainer modelContainer)StringExternalSpdxElement. getUri(IModelContainer modelContainer)abstract StringRdfModelObject. getUri(IModelContainer modelContainer)Get the URI for this RDF object.StringSpdxDocument. getUri(IModelContainer modelContainer)StringSpdxElement. getUri(IModelContainer modelContainer)StringSpdxNoAssertionElement. getUri(IModelContainer modelContainer)StringSpdxNoneElement. getUri(IModelContainer modelContainer)SpdxPackageVerificationCodeSpdxPackage. getVerificationCode()Deprecated.booleanSpdxPackage. isFilesAnalyzed()voidAnnotation. populateModel()Populate the model from the propertiesvoidChecksum. populateModel()voidDoapProject. populateModel()voidExternalDocumentRef. populateModel()voidExternalRef. populateModel()voidExternalSpdxElement. populateModel()abstract voidRdfModelObject. populateModel()Populate the RDF model from the Java propertiesvoidRelationship. populateModel()voidSpdxConstantElement. populateModel()voidSpdxDocument. populateModel()voidSpdxElement. populateModel()voidSpdxFile. populateModel()voidSpdxItem. populateModel()voidSpdxPackage. populateModel()voidSpdxSnippet. populateModel()voidChecksum. setAlgorithm(Checksum.ChecksumAlgorithm algorithm)voidAnnotation. setAnnotationDate(String date)voidSpdxElement. setAnnotations(Annotation[] annotations)voidAnnotation. setAnnotationType(Annotation.AnnotationType annotationType)voidSpdxFile. setArtifactOf(DoapProject[] artifactOf)Deprecated.voidSpdxSnippet. setByteRange(StartEndPointer byteRange)voidExternalDocumentRef. setChecksum(Checksum checksum)voidSpdxFile. setChecksums(Checksum[] checksums)voidSpdxPackage. setChecksums(Checksum[] checksums)voidSpdxFile. setConcludedLicenses(AnyLicenseInfo concludedLicense)Deprecated.voidSpdxDocument. setDataLicense(AnyLicenseInfo dataLicense)voidSpdxDocument. setExternalDocumentRefs(ExternalDocumentRef[] externalDocumentRefs)voidSpdxPackage. setExternalRefs(ExternalRef[] externalRefs)voidSpdxDocument. setExtractedLicenseInfos(ExtractedLicenseInfo[] extractedLicenseInfos)voidSpdxFile. setFileDependencies(SpdxFile[] fileDependencies)Deprecated.voidSpdxPackage. setFiles(SpdxFile[] files)voidSpdxFile. setFileTypes(SpdxFile.FileType[] fileTypes)voidExternalSpdxElement. setId(String id)voidSpdxElement. setId(String id)The ID is a unique identify for the SPDX element.voidSpdxItem. setLicenseConcluded(AnyLicenseInfo licenseConcluded)voidSpdxPackage. setLicenseDeclared(AnyLicenseInfo licenseDeclared)voidSpdxItem. setLicenseInfosFromFiles(AnyLicenseInfo[] licenseInfoFromFiles)voidSpdxSnippet. setLineRange(StartEndPointer lineRange)voidSpdxPackage. setPackageVerificationCode(SpdxPackageVerificationCode packageVerificationCode)voidDoapProject. setProjectUri(String uri)protected voidRdfModelObject. setPropertyUriValue(String nameSpace, String propertyName, String uri)Sets a property value as a Uriprotected voidRdfModelObject. setPropertyUriValues(String nameSpace, String propertyName, String[] uris)Sets a property value as a list of Urisprotected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, AnyLicenseInfo license)Set a property value for this resource.protected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, Checksum checksumValue)protected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, DoapProject[] doapProjectValues)protected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, ExternalRef[] externalRefs)Set the external refs as a value for the propertyprotected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, SinglePointer singlePointer)protected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, StartEndPointer[] values)Set a property value for this resource.protected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, SpdxElement element)protected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, SpdxElement[] element)protected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, SpdxElement[] elements, boolean updateModel)Sets the spdx element property value for this resourceprotected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, SpdxElement element, boolean updateModel)Sets the spdx element property value for this resourceprotected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, ReferenceType referenceType)protected voidRdfModelObject. setPropertyValue(String nameSpace, String propertyName, SpdxPackageVerificationCode verificationCode)voidRdfModelObject. setPropertyValues(String nameSpace, String propertyName, AnyLicenseInfo[] licenses)Set a property value for this resource.protected voidRdfModelObject. setPropertyValues(String nameSpace, String propertyName, Annotation[] annotations)protected voidRdfModelObject. setPropertyValues(String nameSpace, String propertyName, Checksum[] checksumValues)voidRdfModelObject. setPropertyValues(String nameSpace, String propertyName, ExternalDocumentRef[] externalDocRefs)protected voidRdfModelObject. setPropertyValues(String nameSpace, String propertyName, Relationship[] relationships)Set a property value for this resource.voidExternalRef. setReferenceCategory(ExternalRef.ReferenceCategory referenceCategory)voidExternalRef. setReferenceType(ReferenceType referenceType)voidRelationship. setRelatedSpdxElement(SpdxElement relatedSpdxElement)voidSpdxElement. setRelationships(Relationship[] relationships)voidRelationship. setRelationshipType(Relationship.RelationshipType relationshipType)voidSpdxFile. setSeenLicenses(AnyLicenseInfo[] seenLicenses)Deprecated.voidSpdxSnippet. setSnippetFromFile(SpdxFile snippetFromFile)voidExternalDocumentRef. setSpdxDocument(SpdxDocument spdxDocument)voidExternalDocumentRef. setSpdxDocumentNamespace(String spdxDocumentNamespace)Constructors in org.spdx.rdfparser.model that throw InvalidSPDXAnalysisException Constructor Description Annotation(IModelContainer modelContainer, org.apache.jena.graph.Node annotationNode)Checksum(IModelContainer modelContainer, org.apache.jena.graph.Node node)DoapProject(IModelContainer modelContainer, org.apache.jena.graph.Node node)ExternalDocumentRef(IModelContainer modelContainer, org.apache.jena.graph.Node node)ExternalRef(IModelContainer modelContainer, org.apache.jena.graph.Node node)ExternalSpdxElement(String id)RdfModelObject(IModelContainer modelContainer, org.apache.jena.graph.Node node)Create an RDF Model Object based on an existing NodeRelationship(IModelContainer modelContainer, org.apache.jena.graph.Node node)SpdxConstantElement(IModelContainer container, org.apache.jena.graph.Node elementNode)SpdxDocument(SpdxDocumentContainer documentContainer, org.apache.jena.graph.Node node)SpdxElement(IModelContainer modelContainer, org.apache.jena.graph.Node node)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)SpdxFile(IModelContainer modelContainer, org.apache.jena.graph.Node node)SpdxItem(IModelContainer modelContainer, org.apache.jena.graph.Node node)Create an SPDX item from a Jena modelSpdxNoAssertionElement(IModelContainer container, org.apache.jena.graph.Node elementNode)SpdxNoneElement(IModelContainer container, org.apache.jena.graph.Node elementNode)SpdxPackage(IModelContainer modelContainer, org.apache.jena.graph.Node node)SpdxSnippet(IModelContainer modelContainer, org.apache.jena.graph.Node node) -
Uses of InvalidSPDXAnalysisException in org.spdx.rdfparser.model.pointer
Methods in org.spdx.rdfparser.model.pointer that throw InvalidSPDXAnalysisException Modifier and Type Method Description SinglePointerStartEndPointer. getEndPointer()voidByteOffsetPointer. getPropertiesFromModel()voidCompoundPointer. getPropertiesFromModel()voidLineCharPointer. getPropertiesFromModel()voidSinglePointer. getPropertiesFromModel()voidStartEndPointer. getPropertiesFromModel()SpdxElementSinglePointer. getReference()static SinglePointerPointerFactory. getSinglePointerFromModel(IModelContainer modelContainer, org.apache.jena.graph.Node node)Get the pointer from the model determining the subclass from the information in the model.SinglePointerCompoundPointer. getStartPointer()StringByteOffsetPointer. getUri(IModelContainer modelContainer)StringLineCharPointer. getUri(IModelContainer modelContainer)StringStartEndPointer. getUri(IModelContainer modelContainer)voidByteOffsetPointer. populateModel()voidCompoundPointer. populateModel()voidLineCharPointer. populateModel()voidSinglePointer. populateModel()voidStartEndPointer. populateModel()voidStartEndPointer. setEndPointer(SinglePointer endPointer)voidSinglePointer. setReference(SpdxElement reference)voidCompoundPointer. setStartPointer(SinglePointer startPointer)Constructors in org.spdx.rdfparser.model.pointer that throw InvalidSPDXAnalysisException Constructor Description ByteOffsetPointer(IModelContainer modelContainer, org.apache.jena.graph.Node node)CompoundPointer(IModelContainer modelContainer, org.apache.jena.graph.Node node)Create a compoundpointer from an existing RDF nodeLineCharPointer(IModelContainer modelContainer, org.apache.jena.graph.Node node)SinglePointer(IModelContainer modelContainer, org.apache.jena.graph.Node node)Create a SinglePointer from the modelStartEndPointer(IModelContainer modelContainer, org.apache.jena.graph.Node node)Create a StartEndPointer from an existing RDF node -
Uses of InvalidSPDXAnalysisException in org.spdx.rdfparser.referencetype
Methods in org.spdx.rdfparser.referencetype that throw InvalidSPDXAnalysisException Modifier and Type Method Description StringReferenceType. getContextualExample()URLReferenceType. getDocumentation()URLReferenceType. getExternalReferenceSite()StringListedReferenceTypes. getListedReferenceName(URI uri)Get the listed reference type name from the listed reference URIReferenceTypeListedReferenceTypes. getListedReferenceTypeByName(String listedReferenceName)URIListedReferenceTypes. getListedReferenceUri(String listedReferenceName)Get the listed reference URI from a listed reference type name used in the tag/value formatvoidReferenceType. getPropertiesFromModel()StringReferenceType. getUri(IModelContainer modelContainer)voidReferenceType. populateModel()voidReferenceType. setContextualExample(String contextualExample)voidReferenceType. setDocumentation(URL documentation)voidReferenceType. setExternalReferenceSite(URL externalReferenceSite)Constructors in org.spdx.rdfparser.referencetype that throw InvalidSPDXAnalysisException Constructor Description ReferenceType(URI uri, String contextualExample, URL documentation, URL externalReferenceSite)Create a reference type from basic valuesReferenceType(IModelContainer modelContainer, org.apache.jena.graph.Node node) -
Uses of InvalidSPDXAnalysisException in org.spdx.spdxspreadsheet
Methods in org.spdx.spdxspreadsheet that throw InvalidSPDXAnalysisException Modifier and Type Method Description abstract voidPackageInfoSheet. add(SpdxPackage pkgInfo)voidPackageInfoSheetV09d2. add(SpdxPackage pkgInfo)voidPackageInfoSheetV09d3. add(SpdxPackage pkgInfo)voidPackageInfoSheetV1d2. add(SpdxPackage pkgInfo)voidPackageInfoSheetV2d0. add(SpdxPackage pkgInfo)voidPackageInfoSheetV2d1. add(SpdxPackage pkgInfo)voidPackageInfoSheetV2d2. add(SpdxPackage pkgInfo)voidPackageInfoSheetV9d1. add(SpdxPackage pkgInfo) -
Uses of InvalidSPDXAnalysisException in org.spdx.tag
Methods in org.spdx.tag that throw InvalidSPDXAnalysisException Modifier and Type Method Description static voidCommonCode. printDoc(SpdxDocument doc, PrintWriter out, Properties constants) -
Uses of InvalidSPDXAnalysisException in org.spdx.tools
Methods in org.spdx.tools that throw InvalidSPDXAnalysisException Modifier and Type Method Description static voidRdfToSpreadsheet. copyRdfXmlToSpreadsheet(SpdxDocument doc, SPDXSpreadsheet ss)static SpdxDocumentSpreadsheetToRDF. copySpreadsheetToSPDXAnalysis(SPDXSpreadsheet ss)static voidRdfToHtml. rdfToHtml(SpdxDocument doc, File docHtmlFile, File licenseHtmlFile, File snippetHtmlFile, File docFilesHtmlFile)static voidRdfToHtml. rdfToHtml(SpdxDocument doc, File templateDir, File docHtmlFile, File licenseHtmlFile, File snippetHtmlFile, File docFilesHtmlFile)