Uses of Class
org.spdx.library.InvalidSPDXAnalysisException
| Package | Description |
|---|---|
| org.spdx.library |
Package containing useful library functions for reading, writing, and manipulating
SPDX documents.
|
| org.spdx.library.model |
Copyright (c) 2019 Source Auditor Inc.
|
| org.spdx.library.model.license | |
| org.spdx.library.model.pointer |
RDF model classes which implement the proposed W3C Pointer classes.
|
| org.spdx.library.referencetype |
Classes related to reference types for external references
|
| org.spdx.licenseTemplate | |
| org.spdx.storage |
Contains classes that implement the storage interfaces for reading and writing
SPDX document properties.
|
| org.spdx.storage.listedlicense | |
| org.spdx.storage.simple | |
| org.spdx.utility.compare |
Utility classes for comparing SPDX model objects
|
| org.spdx.utility.verificationcode |
-
Uses of InvalidSPDXAnalysisException in org.spdx.library
Subclasses of InvalidSPDXAnalysisException in org.spdx.library Modifier and Type Class Description classSpdxInvalidIdExceptionclassSpdxObjectNotInStoreExceptionException when an SDPX ID or object was not found in a model storeMethods in org.spdx.library that throw InvalidSPDXAnalysisException Modifier and Type Method Description static voidWrite. applyUpdatesInOneTransaction(String documentUri, IModelStore modelStore, Iterable<? extends IModelStore.ModelUpdate> updates)Apply a set of model updates in a single transaction.static voidWrite. applyUpdatesInOneTransaction(String documentUri, IModelStore modelStore, IModelStore.ModelUpdate... updates)Convenience method for applying a small set of updates.voidModelCopyManager. copy(IModelStore toStore, String toDocumentUri, String toId, IModelStore fromStore, String fromDocumentUri, String fromId, String type)Copy an item from one Model Object Store to anothervoidModelCopyManager. copy(IModelStore toStore, String toDocumentUri, String toId, IModelStore fromStore, String fromDocumentUri, String fromId, String type, boolean excludeLicenseDetails)Copy an item from one Model Object Store to anotherTypedValueModelCopyManager. copy(IModelStore toStore, String toDocumentUri, IModelStore fromStore, String fromDocumentUri, String sourceId, String type)Copy an item from one Model Object Store to another using the source ID for the target unless it is anonymousTypedValueModelCopyManager. copy(IModelStore toStore, String toDocumentUri, IModelStore fromStore, String fromDocumentUri, String sourceId, String type, boolean excludeLicenseDetails)Copy an item from one Model Object Store to another using the source ID for the target unless it is anonymousstatic voidWrite. deSerialize(ISerializableModelStore modelStore, String documentUri, InputStream stream)Deserialize a model store from an input stream.static List<SpdxDocument>Read.Document. get(IModelStore modelStore)Obtains the SPDX Documents described in the provided model store.static SpdxDocumentRead.Document. get(IModelStore modelStore, String documentUri)static Stream<? extends ModelObject>Read. getAllItems(IModelStore modelStore, String documentUri, String typeFilter)static Stream<SpdxPackage>Read. getAllPackages(IModelStore modelStore, String documentUri)static voidWrite. readFile(ISerializableModelStore modelStore, String documentUri, Path filePath)Reads a file into a model storestatic voidRead. serialize(ISerializableModelStore modelStore, String documentUri, OutputStream stream)Serializes an SPDX document stored in the modelStore.static voidRead. writeToFile(ISerializableModelStore modelStore, String documentUri, Path filePath)Write the SPDX document stored in the modelStore to a file -
Uses of InvalidSPDXAnalysisException in org.spdx.library.model
Subclasses of InvalidSPDXAnalysisException in org.spdx.library.model Modifier and Type Class Description classDuplicateSpdxIdExceptionclassInvalidSpdxPropertyExceptionclassSpdxIdInUseExceptionException when an SPDX element is in use (e.g.classSpdxIdNotFoundExceptionclassSpdxInvalidTypeExceptionMethods in org.spdx.library.model that throw InvalidSPDXAnalysisException Modifier and Type Method Description booleanExternalSpdxElement. addAnnotation(Annotation annotation)booleanSpdxConstantElement. addAnnotation(Annotation annotation)booleanSpdxElement. addAnnotation(Annotation annotation)Add an annotationbooleanSpdxFile. addChecksum(Checksum checksum)Add a checksumSpdxPackageSpdxPackage. addChecksum(Checksum checksum)Add a checksum to the collection of checksums for this packageSpdxPackageSpdxPackage. addExternalRef(ExternalRef externalRef)SpdxPackageSpdxPackage. addFile(SpdxFile file)Add a file to the collection of files attached to this packagebooleanSpdxFile. addFileType(FileType fileType)Add a file type to this fileprotected voidModelObject. addPropertyValueToCollection(String propertyName, Object value)Add a value to a collection of values associated with a property.booleanExternalSpdxElement. addRelationship(Relationship relationship)booleanSpdxConstantElement. addRelationship(Relationship relationship)booleanSpdxElement. addRelationship(Relationship relationship)Add a relationshipprotected static voidModelObject. addValueToCollection(IModelStore stModelStore, String stDocumentUri, String stId, String propertyName, Object value, ModelCopyManager copyManager)Add a value to a collection of values associated with a property.SpdxFileSpdxFile.SpdxFileBuilder. build()SpdxPackageSpdxPackage.SpdxPackageBuilder. build()SpdxSnippetSpdxSnippet.SpdxSnippetBuilder. build()static Class<?>SpdxModelFactory. classUriToClass(String classUri)protected voidModelObject. clearValueCollection(String propertyName)Clears a collection of values associated with a propertyprotected static voidModelObject. clearValueCollection(IModelStore stModelStore, String stDocumentUri, String stId, String propertyName)Clears a collection of values associated with a property creating the property if it does not existvoidModelObject. copyFrom(ModelObject source)Copy all the properties from the source objectstatic ChecksumChecksum. create(IModelStore modelStore, String documentUri, ChecksumAlgorithm algorithm, String value)Create a checksum with an anonymous IDAnnotationModelObject. createAnnotation(String annotator, AnnotationType annotationType, String date, String comment)ByteOffsetPointerModelObject. createByteOffsetPointer(SpdxElement referencedElement, int offset)ChecksumModelObject. createChecksum(ChecksumAlgorithm algorithm, String value)ConjunctiveLicenseSetModelObject. createConjunctiveLicenseSet(Collection<AnyLicenseInfo> members)SpdxCreatorInformationModelObject. createCreationInfo(List<String> creators, String date)CrossRef.CrossRefBuilderModelObject. createCrossRef(String url)Create a CrossRef Builder with an Anonymous ID type using the same model store and document URIDisjunctiveLicenseSetModelObject. createDisjunctiveLicenseSet(Collection<AnyLicenseInfo> members)ExternalDocumentRefModelObject. createExternalDocumentRef(String externalDocumentId, String externalDocumentUri, Checksum checksum)ExternalRefModelObject. createExternalRef(ReferenceCategory category, ReferenceType referenceType, String locator, String comment)LineCharPointerModelObject. createLineCharPointer(SpdxElement referencedElement, int lineNumber)static ModelObjectSpdxModelFactory. createModelObject(IModelStore modelStore, String documentUri, String id, String type, ModelCopyManager copyManager)Create a model object in a model store given the document URI, ID and typeSpdxPackageVerificationCodeModelObject. createPackageVerificationCode(String value, Collection<String> excludedFileNames)RelationshipModelObject. createRelationship(SpdxElement relatedElement, RelationshipType relationshipType, String comment)static SpdxDocumentSpdxModelFactory. createSpdxDocument(IModelStore modelStore, String documentUri, ModelCopyManager copyManager)Create an SPDX document with default values for creator, created, licenseListVersion, data license and specVersionSpdxFile.SpdxFileBuilderModelObject. createSpdxFile(String id, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> seenLicense, String copyrightText, Checksum sha1)Create an SpdxFileBuilder with all of the required properties - the build() method will build the fileSpdxSnippet.SpdxSnippetBuilderModelObject. createSpdxSnippet(String id, String name, AnyLicenseInfo concludedLicense, Collection<AnyLicenseInfo> seenLicense, String copyrightText, SpdxFile snippetFromFile, int startByte, int endByte)Create an SpdxSnippetBuilder with all of the required properties - the build() method will build the fileStartEndPointerModelObject. createStartEndPointer(SinglePointer startPointer, SinglePointer endPointer)IModelStore.IModelStoreLockModelObject. enterCriticalSection(boolean readLockRequested)Enter a critical section.booleanExternalRef. equivalent(ModelObject compare, boolean ignoreRelatedElements)booleanModelObject. equivalent(ModelObject compare)booleanModelObject. equivalent(ModelObject compare, boolean ignoreRelatedElements)static StringExternalSpdxElement. externalDocumentIdToNamespace(String externalDocumentId, IModelStore stModelStore, String stDocumentUri, ModelCopyManager copyManager)static StringExternalSpdxElement. externalSpdxElementIdToURI(String externalSpdxElementId, IModelStore stModelStore, String stDocumentUri, ModelCopyManager copyManager)ChecksumAlgorithmChecksum. getAlgorithm()StringAnnotation. getAnnotationDate()Collection<Annotation>ExternalSpdxElement. getAnnotations()Collection<Annotation>SpdxConstantElement. getAnnotations()Collection<Annotation>SpdxElement. getAnnotations()AnnotationTypeAnnotation. getAnnotationType()StringAnnotation. getAnnotator()protected Optional<AnyLicenseInfo>ModelObject. getAnyLicenseInfoPropertyValue(String propertyName)Converts property values to an AnyLicenseInfo if possible - if NONE or NOASSERTION URI value, convert to the appropriate licenseCollection<String>SpdxItem. getAttributionText()protected Optional<Boolean>ModelObject. getBooleanPropertyValue(String propertyName)Optional<String>SpdxPackage. getBuiltDate()StartEndPointerSpdxSnippet. getByteRange()Optional<Checksum>ExternalDocumentRef. getChecksum()Collection<Checksum>SpdxPackage. getChecksums()StringAnnotation. getComment()Optional<String>ExternalRef. getComment()Optional<String>ExternalSpdxElement. getComment()Optional<String>Relationship. getComment()Optional<String>SpdxCreatorInformation. getComment()Optional<String>SpdxElement. getComment()Optional<String>SpdxNoAssertionElement. getComment()Optional<String>SpdxNoneElement. getComment()StringSpdxItem. getCopyrightText()StringSpdxCreatorInformation. getCreated()SpdxCreatorInformationSpdxDocument. getCreationInfo()Collection<String>SpdxCreatorInformation. getCreators()AnyLicenseInfoSpdxDocument. getDataLicense()Optional<String>SpdxPackage. getDescription()Collection<SpdxElement>SpdxDocument. getDocumentDescribes()Optional<String>SpdxPackage. getDownloadLocation()protected Optional<SpdxElement>ModelObject. getElementPropertyValue(String propertyName)Converts property values to an SpdxElement if possible - if NONE or NOASSERTION URI value, convert to the appropriate SpdxElementstatic Stream<?>SpdxModelFactory. getElements(IModelStore store, String documentUri, ModelCopyManager copyManager, Class<?> spdxClass)protected Optional<Enum<?>>ModelObject. getEnumPropertyValue(String propertyName)Collection<String>SpdxPackageVerificationCode. getExcludedFileNames()static Optional<ExternalDocumentRef>ExternalDocumentRef. getExternalDocRefByDocNamespace(IModelStore stModelStore, String stDocumentUri, String externalDocUri, ModelCopyManager copyManager)Obtain an ExternalDocumentRef which maps to the document URI for the external SPDX document.StringExternalSpdxElement. getExternalDocumentId()Collection<ExternalDocumentRef>SpdxDocument. getExternalDocumentRefs()StringExternalSpdxElement. getExternalElementId()Collection<ExternalRef>SpdxPackage. getExternalRefs()StringExternalSpdxElement. getExternalSpdxElementURI()Collection<ExtractedLicenseInfo>SpdxDocument. getExtractedLicenseInfos()Collection<SpdxFile>SpdxFile. getFileDependency()Deprecated.Collection<SpdxFile>SpdxPackage. getFiles()Collection<FileType>SpdxFile. getFileTypes()Optional<String>SpdxPackage. getHomepage()protected Optional<Integer>ModelObject. getIntegerPropertyValue(String propertyName)Optional<String>SpdxItem. getLicenseComments()AnyLicenseInfoSpdxItem. getLicenseConcluded()AnyLicenseInfoSpdxPackage. getLicenseDeclared()Collection<AnyLicenseInfo>SpdxItem. getLicenseInfoFromFiles()Optional<String>SpdxCreatorInformation. getLicenseListVersion()Optional<StartEndPointer>SpdxSnippet. getLineRange()static ReferenceTypeReferenceType. getMissingReferenceType()static ModelObjectSpdxModelFactory. getModelObject(IModelStore modelStore, String documentUri, String id, String type, ModelCopyManager copyManager, boolean create)Create a model object in a model store given the document URI, ID and typestatic Optional<ModelObject>SpdxModelFactory. getModelObject(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager)Optional<String>ExternalSpdxElement. getName()Optional<String>SpdxElement. getName()Optional<String>SpdxNoAssertionElement. getName()Optional<String>SpdxNoneElement. getName()Optional<String>SpdxFile. getNoticeText()protected Optional<Object>ModelObject. getObjectPropertyValue(String propertyName)Get an object value for a propertyprotected static Optional<Object>ModelObject. getObjectPropertyValue(IModelStore stModelStore, String stDocumentUri, String stId, String propertyName, ModelCopyManager copyManager)Get an object value for a propertyprotected ModelCollection<?>ModelObject. getObjectPropertyValueCollection(String propertyName, Class<?> type)protected ModelSet<?>ModelObject. getObjectPropertyValueSet(String propertyName, Class<?> type)Optional<String>SpdxPackage. getOriginator()Optional<String>SpdxPackage. getPackageFileName()Optional<SpdxPackageVerificationCode>SpdxPackage. getPackageVerificationCode()Optional<Purpose>SpdxPackage. getPrimaryPurpose()List<String>ModelObject. getPropertyValueNames()ReferenceCategoryExternalRef. getReferenceCategory()StringExternalRef. getReferenceLocator()ReferenceTypeExternalRef. getReferenceType()Optional<SpdxElement>Relationship. getRelatedSpdxElement()Collection<Relationship>ExternalSpdxElement. getRelationships()Collection<Relationship>SpdxConstantElement. getRelationships()Collection<Relationship>SpdxElement. getRelationships()RelationshipTypeRelationship. getRelationshipType()Optional<String>SpdxPackage. getReleaseDate()StringSpdxFile. getSha1()StringSpdxPackage. getSha1()SpdxFileSpdxSnippet. getSnippetFromFile()Optional<String>SpdxPackage. getSourceInfo()Optional<SpdxDocument>ExternalDocumentRef. getSpdxDocument()Returns the SPDX document if it exists within the same model store, otherwise it returns Optional.emptyStringExternalDocumentRef. getSpdxDocumentNamespace()StringSpdxDocument. getSpecVersion()protected Collection<String>ModelObject. getStringCollection(String propertyName)protected Optional<String>ModelObject. getStringPropertyValue(String propertyName)Optional<String>SpdxPackage. getSummary()Optional<String>SpdxPackage. getSupplier()Optional<String>SpdxPackage. getValidUntilDate()StringChecksum. getValue()StringSpdxPackageVerificationCode. getValue()Optional<String>SpdxPackage. getVersionInfo()protected booleanModelObject. isCollectionMembersAssignableTo(String propertyName, Class<?> clazz)booleanSpdxPackage. isFilesAnalyzed()static ObjectModelStorageClassConverter. modelObjectToStoredObject(Object value, String stDocumentUri, IModelStore stModelStore, ModelCopyManager copyManager)Converts a stored object to it's appropriate model object typestatic Optional<Object>ModelStorageClassConverter. optionalStoredObjectToModelObject(Optional<Object> value, String stDocumentUri, IModelStore stModelStore, ModelCopyManager copyManager)Converts any typed value or IndividualValue objects to a ModelObject, returning an existing ModelObject if it exists or creates a new ModelObjectbooleanExternalSpdxElement. removeAnnotation(Annotation annotation)Remove an annotationbooleanSpdxConstantElement. removeAnnotation(Annotation annotation)booleanSpdxElement. removeAnnotation(Annotation annotation)Remove an annotationprotected voidModelObject. removeProperty(String propertyName)Removes a property and its value from the model store if it existsprotected static voidModelObject. removeProperty(IModelStore stModelStore, String stDocumentUri, String stId, String propertyName)Removes a property and its value from the model store if it existsprotected voidModelObject. removePropertyValueFromCollection(String propertyName, Object value)Remove a property value from a collectionprotected static voidModelObject. removePropertyValueFromCollection(IModelStore stModelStore, String stDocumentUri, String stId, String propertyName, Object value)Remove a property value from a collectionbooleanExternalSpdxElement. removeRelationship(Relationship relationship)Remove a relationshipbooleanSpdxConstantElement. removeRelationship(Relationship relationship)booleanSpdxElement. removeRelationship(Relationship relationship)Remove a relationshipprotected static voidModelObject. replacePropertyValueCollection(IModelStore stModelStore, String stDocumentUri, String stId, String propertyName, Collection<?> values, ModelCopyManager copyManager)Replace the entire value collection for a property.protected voidChecksum. setAlgorithm(ChecksumAlgorithm algorithm)Set the checksum algorithm.AnnotationAnnotation. setAnnotationDate(String date)Set the annotation dateSpdxElementExternalSpdxElement. setAnnotations(Collection<Annotation> annotations)Clears and resets the annotations collection to the parameterSpdxElementSpdxConstantElement. setAnnotations(Collection<Annotation> annotations)SpdxElementSpdxElement. setAnnotations(Collection<Annotation> annotations)Clears and resets the annotations collection to the parameterAnnotationAnnotation. setAnnotationType(AnnotationType type)AnnotationAnnotation. setAnnotator(String annotator)voidSpdxPackage. setBuiltDate(String builtDate)SpdxSnippetSpdxSnippet. setByteRange(int startByte, int endByte)ExternalDocumentRefExternalDocumentRef. setChecksum(Checksum checksum)AnnotationAnnotation. setComment(String comment)Set the commentExternalRefExternalRef. setComment(String comment)voidExternalSpdxElement. setComment(String comment)RelationshipRelationship. setComment(String comment)voidSpdxConstantElement. setComment(String comment)SpdxCreatorInformationSpdxCreatorInformation. setComment(String comment)voidSpdxElement. setComment(String comment)Sets the commentSpdxFileSpdxFile. setCopyrightText(String copyrightText)SpdxItemSpdxItem. setCopyrightText(String copyrightText)SpdxCreatorInformationSpdxCreatorInformation. setCreated(String created)voidSpdxDocument. setCreationInfo(SpdxCreatorInformation creationInfo)voidSpdxDocument. setDataLicense(AnyLicenseInfo dataLicense)SpdxPackageSpdxPackage. setDescription(String description)SpdxPackageSpdxPackage. setDownloadLocation(String downloadLocation)SpdxPackageSpdxPackage. setFilesAnalyzed(Boolean filesAnalyzed)Set files Analyzed for the packageSpdxPackageSpdxPackage. setHomepage(String homepage)SpdxFileSpdxFile. setLicenseComments(String licenseComments)SpdxItemSpdxItem. setLicenseComments(String licenseComments)SpdxFileSpdxFile. setLicenseConcluded(AnyLicenseInfo license)SpdxItemSpdxItem. setLicenseConcluded(AnyLicenseInfo license)Set the licenseConcludedSpdxPackageSpdxPackage. setLicenseDeclared(AnyLicenseInfo licenseDeclared)Set the licenseDeclaredSpdxCreatorInformationSpdxCreatorInformation. setLicenseListVersion(String licenseListVersion)SpdxSnippetSpdxSnippet. setLineRange(int startLine, int endLine)ExternalSpdxElementExternalSpdxElement. setName(String name)SpdxElementSpdxConstantElement. setName(String name)SpdxElementSpdxElement. setName(String name)Set the nameSpdxFileSpdxFile. setName(String name)SpdxItemSpdxItem. setName(String name)SpdxFileSpdxFile. setNoticeText(String noticeText)SpdxPackageSpdxPackage. setOriginator(String originator)SpdxPackageSpdxPackage. setPackageFileName(String packageFileName)SpdxPackageSpdxPackage. setPackageVerificationCode(SpdxPackageVerificationCode verificationCode)voidSpdxPackage. setPrimaryPurpose(Purpose purpose)protected voidModelObject. setPropertyValue(String propertyName, Object value)Set a property value for a property name, creating the property if necessaryprotected static voidModelObject. setPropertyValue(IModelStore stModelStore, String stDocumentUri, String stId, String propertyName, Object value, ModelCopyManager copyManager)Set a property value for a property name, creating the property if necessaryExternalRefExternalRef. setReferenceCategory(ReferenceCategory referenceCategory)Set the reference categoryExternalRefExternalRef. setReferenceLocator(String referenceLocator)Set the reference locatorExternalRefExternalRef. setReferenceType(ReferenceType referenceType)Set the reference typeRelationshipRelationship. setRelatedSpdxElement(SpdxElement relatedSpdxElement)SpdxElementExternalSpdxElement. setRelationships(Collection<Relationship> relationships)clear and reset the relationships to the paramater relationshipSpdxElementSpdxConstantElement. setRelationships(Collection<Relationship> relationships)SpdxElementSpdxElement. setRelationships(Collection<Relationship> relationships)clear and reset the relationships to the paramater relationshipRelationshipRelationship. setRelationshipType(RelationshipType type)Set the relationship typevoidSpdxPackage. setReleaseDate(String releaseDate)SpdxSnippetSpdxSnippet. setSnippetFromFile(SpdxFile snippetFromFile)SpdxPackageSpdxPackage. setSourceInfo(String sourceInfo)ExternalDocumentRefExternalDocumentRef. setSpdxDocument(SpdxDocument spdxDocument)ExternalDocumentRefExternalDocumentRef. setSpdxDocumentNamespace(String documentNamespace)Set the document namespacevoidSpdxDocument. setSpecVersion(String specVersion)SpdxPackageSpdxPackage. setSummary(String summary)SpdxPackageSpdxPackage. setSupplier(String supplier)voidSpdxPackage. setValidUntilDate(String validUntilDate)protected voidChecksum. setValue(String value)Set the value - this should only be called by factory methodsvoidSpdxPackageVerificationCode. setValue(String value)Set the value for the verification codeSpdxPackageSpdxPackage. setVersionInfo(String versionInfo)static ObjectModelStorageClassConverter. storedObjectToModelObject(Object value, String documentUri, IModelStore modelStore, ModelCopyManager copyManager)Converts any typed value or individual value objects to a ModelObject, returning an existing ModelObject if it exists or creates a new ModelObjectObjectSimpleUriValue. toModelObject(IModelStore store, String documentUri, ModelCopyManager copyManager)inflate the value back to either an Enum (if the URI matches), an ExternalSpdxElement if it matches the pattern of an external SPDX element or returns itself otherwiseprotected TypedValueModelObject. toTypedValue()static Class<? extends Object>SpdxModelFactory. typeToClass(String type)static ExternalSpdxElementExternalSpdxElement. uriToExternalSpdxElement(String uri, IModelStore stModelStore, String stDocumentUri, ModelCopyManager copyManager)Create an ExternalSpdxElement based on a URI of the form externaldocumentnamespace#SPDXRef-[NUM]static StringExternalSpdxElement. uriToExternalSpdxElementId(String uri, IModelStore stModelStore, String stDocumentUri, ModelCopyManager copyManager)Convert a URI to an ID for an External SPDX ElementConstructors in org.spdx.library.model that throw InvalidSPDXAnalysisException Constructor Description Annotation()Annotation(String id)Annotation(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)Checksum()Checksum(String id)Checksum(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)ExternalDocumentRef()Default model store, copy manager, and document URIExternalDocumentRef(String id)ExternalDocumentRef(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)ExternalRef()ExternalRef(String id)ExternalRef(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)ExternalSpdxElement(String id)ExternalSpdxElement(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)GenericModelObject()GenericModelObject(String id)GenericModelObject(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)GenericSpdxElement()GenericSpdxElement(String id)GenericSpdxElement(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)GenericSpdxItem()GenericSpdxItem(String id)GenericSpdxItem(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)ModelCollection(IModelStore modelStore, String documentUri, String id, String propertyName, ModelCopyManager copyManager, Class<?> type)ModelObject()Create a new Model Object using an Anonymous ID with the defualt store and default document URIModelObject(String id)Open or create a model object with the default store and default document URIModelObject(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)ModelSet(IModelStore modelStore, String documentUri, String id, String propertyName, ModelCopyManager copyManager, Class<?> type)ReferenceType(String uriValue)ReferenceType(IndividualUriValue uri)RelatedElementCollection(SpdxElement owningElement, RelationshipType relationshipTypeFilter)RelatedElementCollection(SpdxElement owningElement, RelationshipType relationshipTypeFilter, String relatedElementTypeFilter)Relationship()Relationship(String id)Relationship(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)SimpleUriValue(String uri)SimpleUriValue(IndividualUriValue fromIndividualValue)SpdxConstantElement(String id)SpdxConstantElement(IModelStore modelStore, String documentUri, String id)SpdxCreatorInformation()SpdxCreatorInformation(String id)SpdxCreatorInformation(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)SpdxDocument(String documentUri)Obtains or creates an SPDX document using the default document storeSpdxDocument(IModelStore modelStore, String documentUri, ModelCopyManager copyManager, boolean create)SpdxElement()SpdxElement(String id)SpdxElement(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)SpdxFile()SpdxFile(String id)SpdxFile(SpdxFile.SpdxFileBuilder spdxFileBuilder)SpdxFile(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)SpdxItem()SpdxItem(String id)SpdxItem(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)SpdxNoAssertionElement()Create a None element with default model store and document URISpdxNoAssertionElement(IModelStore modelStore, String documentUri)SpdxNoneElement()Create a None element with default model store and document URISpdxNoneElement(IModelStore modelStore, String documentUri)SpdxPackage()SpdxPackage(String id)SpdxPackage(SpdxPackage.SpdxPackageBuilder spdxPackageBuilder)SpdxPackage(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)SpdxPackageVerificationCode()SpdxPackageVerificationCode(String id)SpdxPackageVerificationCode(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)SpdxSnippet()SpdxSnippet(String id)SpdxSnippet(SpdxSnippet.SpdxSnippetBuilder spdxSnippetBuilder)SpdxSnippet(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create) -
Uses of InvalidSPDXAnalysisException in org.spdx.library.model.license
Subclasses of InvalidSPDXAnalysisException in org.spdx.library.model.license Modifier and Type Class Description classInvalidLicenseStringExceptionclassLicenseParserExceptionclassSpdxListedLicenseExceptionMethods in org.spdx.library.model.license that throw InvalidSPDXAnalysisException Modifier and Type Method Description voidLicenseSet. addMember(AnyLicenseInfo member)Adds a member to the setCrossRefCrossRef.CrossRefBuilder. build()booleanConjunctiveLicenseSet. equivalent(ModelObject compare)booleanDisjunctiveLicenseSet. equivalent(ModelObject compare)booleanExternalExtractedLicenseInfo. equivalent(ModelObject compare, boolean ignoreRelatedElements)booleanExtractedLicenseInfo. equivalent(ModelObject compare)booleanExtractedLicenseInfo. equivalent(ModelObject compare, boolean ignoreRelatedElements)booleanLicense. equivalent(ModelObject compare, boolean ignoreExternalReferences)booleanListedLicenseException. equivalent(ModelObject compare, boolean ignoreRelatedElements)booleanSpdxListedLicense. equivalent(ModelObject compare, boolean ignoreRelatedElements)static StringExternalExtractedLicenseInfo. externalExtractedLicenseIdToURI(String externalExtractedLicenseId, IModelStore stModelStore, String stDocumentUri, ModelCopyManager copyManager)StringExternalExtractedLicenseInfo. getComment()StringLicenseException. getComment()StringSimpleLicensingInfo. getComment()Collection<CrossRef>SpdxListedLicense. getCrossRef()StringLicenseException. getDeprecatedVersion()StringSpdxListedLicense. getDeprecatedVersion()StringLicenseException. getExample()Deprecated.LicenseExceptionWithExceptionOperator. getException()StringListedLicenseException. getExceptionTextHtml()StringExternalExtractedLicenseInfo. getExternalDocumentId()StringExternalExtractedLicenseInfo. getExternalExtractedLicenseURI()StringExternalExtractedLicenseInfo. getExternalLicenseRef()abstract StringAbstractExtractedLicenseInfo. getExtractedText()StringExternalExtractedLicenseInfo. getExtractedText()StringExtractedLicenseInfo. getExtractedText()List<AnyLicenseInfo>ConjunctiveLicenseSet. getFlattenedMembers()Conjunctive license sets can contain other conjunctive license sets as members.protected List<AnyLicenseInfo>DisjunctiveLicenseSet. getFlattenedMembers()Disjunctive license sets can contain other conjunctive license sets as members.BooleanLicense. getFsfLibre()Optional<Boolean>CrossRef. getIsWayBackLink()SimpleLicensingInfoOrLaterOperator. getLicense()AnyLicenseInfoWithExceptionOperator. getLicense()StringLicenseException. getLicenseExceptionTemplate()StringLicenseException. getLicenseExceptionText()StringSpdxListedLicense. getLicenseHeaderHtml()StringLicense. getLicenseText()StringSpdxListedLicense. getLicenseTextHtml()static ListedLicenseExceptionLicenseInfoFactory. getListedExceptionById(String id)ListedLicenseExceptionListedLicenses. getListedExceptionById(String exceptionId)static SpdxListedLicenseLicenseInfoFactory. getListedLicenseById(String licenseId)SpdxListedLicenseListedLicenses. getListedLicenseById(String licenseId)Optional<Boolean>CrossRef. getLive()Optional<String>CrossRef. getMatch()Collection<AnyLicenseInfo>LicenseSet. getMembers()StringExternalExtractedLicenseInfo. getName()StringLicenseException. getName()StringSimpleLicensingInfo. getName()Optional<Integer>CrossRef. getOrder()Collection<String>ExternalExtractedLicenseInfo. getSeeAlso()Collection<String>LicenseException. getSeeAlso()Collection<String>SimpleLicensingInfo. getSeeAlso()StringLicense. getStandardLicenseHeader()StringLicense. getStandardLicenseHeaderTemplate()StringLicense. getStandardLicenseTemplate()Optional<String>CrossRef. getTimestamp()Optional<String>CrossRef. getUrl()Optional<Boolean>CrossRef. getValid()booleanLicense. isDeprecated()booleanLicenseException. isDeprecated()booleanLicense. isFsfLibre()booleanLicense. isNotFsfLibre()booleanLicense. isOsiApproved()voidLicenseSet. removeMember(AnyLicenseInfo member)voidExternalExtractedLicenseInfo. setComment(String comment)voidLicenseException. setComment(String comment)voidSimpleLicensingInfo. setComment(String comment)voidLicense. setDeprecated(Boolean deprecated)voidLicenseException. setDeprecated(Boolean deprecated)voidLicenseException. setDeprecatedVersion(String deprecatedVersion)voidSpdxListedLicense. setDeprecatedVersion(String deprecatedVersion)voidCrossRef. setDetails(Boolean isValid, Boolean isLive, Boolean isWayBackLink, String match, String timestamp)Convenience method for setting details related to the URL checkingvoidLicenseException. setExample(String example)Deprecated.voidWithExceptionOperator. setException(LicenseException exception)voidListedLicenseException. setExceptionTextHtml(String exceptionTextHtml)voidExtractedLicenseInfo. setExtractedText(String text)voidLicense. setFsfLibre(Boolean fsfLibre)voidCrossRef. setIsWayBackLink(Boolean isWayBackLink)voidOrLaterOperator. setLicense(SimpleLicensingInfo license)voidWithExceptionOperator. setLicense(AnyLicenseInfo license)voidLicenseException. setLicenseExceptionTemplate(String template)Set the template text for the exceptionvoidLicenseException. setLicenseExceptionText(String text)Sets the text for the exceptionvoidSpdxListedLicense. setLicenseHeaderHtml(String licenseHeaderHtml)Set the licenseHeaderTemplateHtmlvoidLicense. setLicenseText(String text)voidSpdxListedLicense. setLicenseTextHtml(String licenseTextHtml)Set the licenseTextHtmlvoidCrossRef. setLive(Boolean isLive)voidCrossRef. setMatch(String match)voidLicenseSet. setMembers(Collection<AnyLicenseInfo> licenseInfos)Sets the members of the license set.voidExternalExtractedLicenseInfo. setName(String name)voidLicenseException. setName(String name)voidSimpleLicensingInfo. setName(String name)voidCrossRef. setOrder(Integer order)voidLicense. setOsiApproved(Boolean osiApproved)voidExternalExtractedLicenseInfo. setSeeAlso(Collection<String> seeAlsoUrl)voidLicenseException. setSeeAlso(Collection<String> seeAlso)voidSimpleLicensingInfo. setSeeAlso(Collection<String> seeAlsoUrl)protected booleanConjunctiveLicenseSet. setsEquivalent(ConjunctiveLicenseSet compare)voidLicense. setStandardLicenseHeader(String standardLicenseHeader)voidLicense. setStandardLicenseHeaderTemplate(String standardLicenseHeaderTemplate)voidLicense. setStandardLicenseTemplate(String template)voidCrossRef. setTimestamp(String timestamp)voidCrossRef. setUrl(String url)voidCrossRef. setValid(Boolean isValid)IModelStore.ModelUpdateLicense. updateSetDeprecated(Boolean deprecated)static ExternalExtractedLicenseInfoExternalExtractedLicenseInfo. uriToExternalExtractedLicense(String externalLicenseUri, IModelStore stModelStore, String stDocumentUri, ModelCopyManager copyManager)static StringExternalExtractedLicenseInfo. uriToExternalExtractedLicenseId(String uri, IModelStore stModelStore, String stDocumentUri, ModelCopyManager copyManager)Convert a URI to an ID for an External Extracted LicenseConstructors in org.spdx.library.model.license that throw InvalidSPDXAnalysisException Constructor Description AbstractExtractedLicenseInfo(String id)Create a new ExtractedLicenseInfo using the IDAbstractExtractedLicenseInfo(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)Create a new ExtractedLicenseInfo objectAnyLicenseInfo()Create a new Model Object using an Anonymous ID with the defualt store and default document URIAnyLicenseInfo(String id)Open or create a model object with the default store and default document URIConjunctiveLicenseSet()ConjunctiveLicenseSet(String id)ConjunctiveLicenseSet(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)CrossRef()CrossRef(String id)CrossRef(CrossRef.CrossRefBuilder builder)CrossRef(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)DisjunctiveLicenseSet()DisjunctiveLicenseSet(String id)DisjunctiveLicenseSet(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)ExternalExtractedLicenseInfo(String id)ExternalExtractedLicenseInfo(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)ExtractedLicenseInfo()ExtractedLicenseInfo(String id)ExtractedLicenseInfo(String id, String text)Create a new ExtractedLicenseInfo using the ID and textExtractedLicenseInfo(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)Create a new ExtractedLicenseInfo objectLicense(String id)Open or create a model object with the default store and default document URILicenseException(String id, String name, String text)LicenseException(String id, String name, String text, String template, Collection<String> seeAlso, String comment)LicenseException(String id, String name, String text, Collection<String> seeAlso, String comment)LicenseException(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)Create a new LicenseException objectLicenseSet()LicenseSet(String id)ListedLicenseException(String id, String name, String text)ListedLicenseException(String id, String name, String text, String template, Collection<String> seeAlso, String comment)ListedLicenseException(String id, String name, String text, Collection<String> seeAlso, String comment)ListedLicenseException(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)OrLaterOperator()OrLaterOperator(String id)OrLaterOperator(SimpleLicensingInfo license)Create a new OrLaterOperator applied to license using the same ModelStore and DocumentURI as the licenseOrLaterOperator(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)SpdxListedLicense(String id)Open or create a model object with the default store and default document URISpdxListedLicense(String name, String id, String text, Collection<String> sourceUrl, String comments, String standardLicenseHeader, String template, boolean osiApproved, Boolean fsfLibre, String licenseTextHtml, boolean isDeprecated, String deprecatedVersion)SpdxListedLicense(SpdxListedLicense.Builder builder)SpdxListedLicense(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)Create a new SPDX Listed License objectSpdxNoAssertionLicense()Create a new No Assertion license with the default store and default document URISpdxNoAssertionLicense(IModelStore modelStore, String documentUri)SpdxNoneLicense()Create a new NoneLicense with the default store and default document URISpdxNoneLicense(IModelStore modelStore, String documentUri)WithExceptionOperator()WithExceptionOperator(String id)WithExceptionOperator(AnyLicenseInfo license, LicenseException exception)WithExceptionOperator(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create) -
Uses of InvalidSPDXAnalysisException in org.spdx.library.model.pointer
Methods in org.spdx.library.model.pointer that throw InvalidSPDXAnalysisException Modifier and Type Method Description SinglePointerStartEndPointer. getEndPointer()intLineCharPointer. getLineNumber()intByteOffsetPointer. getOffset()SpdxElementSinglePointer. getReference()SinglePointerCompoundPointer. getStartPointer()voidStartEndPointer. setEndPointer(SinglePointer endPointer)voidLineCharPointer. setLineNumber(Integer lineNumber)voidByteOffsetPointer. setOffset(Integer offset)voidSinglePointer. setReference(SpdxElement reference)CompoundPointerCompoundPointer. setStartPointer(SinglePointer startPointer)StartEndPointerStartEndPointer. setStartPointer(SinglePointer startPointer)Constructors in org.spdx.library.model.pointer that throw InvalidSPDXAnalysisException Constructor Description ByteOffsetPointer()ByteOffsetPointer(String id)ByteOffsetPointer(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)CompoundPointer()CompoundPointer(String id)CompoundPointer(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)LineCharPointer()LineCharPointer(String id)LineCharPointer(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)SinglePointer()SinglePointer(String id)SinglePointer(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create)StartEndPointer()StartEndPointer(String id)StartEndPointer(IModelStore modelStore, String documentUri, String id, ModelCopyManager copyManager, boolean create) -
Uses of InvalidSPDXAnalysisException in org.spdx.library.referencetype
Methods in org.spdx.library.referencetype that throw InvalidSPDXAnalysisException Modifier and Type Method Description 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 format -
Uses of InvalidSPDXAnalysisException in org.spdx.licenseTemplate
Subclasses of InvalidSPDXAnalysisException in org.spdx.licenseTemplate Modifier and Type Class Description classLicenseParserExceptionException caused by an invalid license expression -
Uses of InvalidSPDXAnalysisException in org.spdx.storage
Methods in org.spdx.storage that throw InvalidSPDXAnalysisException Modifier and Type Method Description booleanIModelStore. addValueToCollection(String documentUri, String id, String propertyName, Object value)Adds a value to a property collection creating the propertyName if it does not existvoidIModelStore.ModelUpdate. apply()voidIModelStore. clearValueCollection(String documentUri, String id, String propertyName)Sets the value collection for the property to an empty collection creating the propertyName if it does not existbooleanIModelStore. collectionContains(String documentUri, String id, String propertyName, Object value)intIModelStore. collectionSize(String documentUri, String id, String propertyName)voidIModelStore. create(String documentUri, String id, String type)Create a new object with IDvoidIModelStore. delete(String documentUri, String id)Deletes an item from the documentStringISerializableModelStore. deSerialize(InputStream stream, boolean overwrite)Deserialize / read an SPDX document from a streamIModelStore.IModelStoreLockIModelStore. enterCriticalSection(String documentUri, boolean readLockRequested)Enter a critical section.Stream<TypedValue>IModelStore. getAllItems(String documentUri, String typeFilter)StringIModelStore. getNextId(IModelStore.IdType idType, String documentUri)Generate a unique ID for use within the documentList<String>IModelStore. getPropertyValueNames(String documentUri, String id)Optional<TypedValue>IModelStore. getTypedValue(String documentUri, String id)Optional<Object>IModelStore. getValue(String documentUri, String id, String propertyName)booleanIModelStore. isCollectionMembersAssignableTo(String documentUri, String id, String propertyName, Class<?> clazz)booleanIModelStore. isCollectionProperty(String documentUri, String id, String propertyName)booleanIModelStore. isPropertyValueAssignableTo(String documentUri, String id, String propertyName, Class<?> clazz)Iterator<Object>IModelStore. listValues(String documentUri, String id, String propertyName)voidIModelStore. removeProperty(String documentUri, String id, String propertyName)Removes a property from the document for the given ID if the property exists.booleanIModelStore. removeValueFromCollection(String documentUri, String id, String propertyName, Object value)Removes a value from a collection of values associated with a propertyvoidISerializableModelStore. serialize(String documentUri, OutputStream stream)Serialize the items stored in the documentUri.voidIModelStore. setValue(String documentUri, String id, String propertyName, Object value)Sets a property value for a String or Boolean type of value creating the propertyName if it does not exist -
Uses of InvalidSPDXAnalysisException in org.spdx.storage.listedlicense
Methods in org.spdx.storage.listedlicense that throw InvalidSPDXAnalysisException Modifier and Type Method Description booleanLicenseJson. addCrossRefValueToList(String propertyName, org.spdx.storage.listedlicense.CrossRefJson value)Add a cross reference to a value listvoidExceptionJsonTOC. addException(ListedLicenseException exception, String exceptionHTMLReference, String exceptionJSONReference, boolean deprecated)Add a new exception to the list of exceptionsvoidLicenseJsonTOC. addLicense(SpdxListedLicense license, String licHTMLReference, String licJSONReference, boolean deprecated)Add summary information about a specific license to the licenses listbooleanLicenseJson. addPrimitiveValueToList(String propertyName, Object value)Add a primitive value to a value listbooleanSpdxListedLicenseModelStore. addValueToCollection(String documentUri, String id, String propertyName, Object value)voidSpdxListedLicenseModelStore. clearValueCollection(String documentUri, String id, String propertyName)booleanSpdxListedLicenseModelStore. collectionContains(String documentUri, String id, String propertyName, Object value)intSpdxListedLicenseModelStore. collectionSize(String documentUri, String id, String propertyName)voidExceptionJson. copyFrom(ListedLicenseException fromException)voidLicenseJson. copyFrom(SpdxListedLicense fromLicense)voidSpdxListedLicenseModelStore. create(String documentUri, String id, String type)voidSpdxListedLicenseModelStore. delete(String documentUri, String id)Stream<TypedValue>SpdxListedLicenseModelStore. getAllItems(String documentUri, String typeFilter)StringSpdxListedLicenseModelStore. getNextId(IModelStore.IdType idType, String documentUri)List<String>SpdxListedLicenseModelStore. getPropertyValueNames(String documentUri, String id)Optional<TypedValue>SpdxListedLicenseModelStore. getTypedValue(String documentUri, String id)Optional<Object>SpdxListedLicenseModelStore. getValue(String documentUri, String id, String propertyName)booleanSpdxListedLicenseModelStore. isCollectionMembersAssignableTo(String documentUri, String id, String propertyName, Class<?> clazz)booleanSpdxListedLicenseModelStore. isCollectionProperty(String documentUri, String id, String propertyName)booleanSpdxListedLicenseModelStore. isPropertyValueAssignableTo(String documentUri, String id, String propertyName, Class<?> clazz)Iterator<Object>SpdxListedLicenseModelStore. listValues(String documentUri, String id, String propertyName)voidSpdxListedLicenseModelStore. removeProperty(String documentUri, String id, String propertyName)booleanSpdxListedLicenseModelStore. removeValueFromCollection(String documentUri, String id, String propertyName, Object value)voidSpdxListedLicenseModelStore. setValue(String documentUri, String id, String propertyName, Object value)Constructors in org.spdx.storage.listedlicense that throw InvalidSPDXAnalysisException Constructor Description SpdxListedLicenseLocalStore()SpdxListedLicenseModelStore()SpdxListedLicenseWebStore() -
Uses of InvalidSPDXAnalysisException in org.spdx.storage.simple
Methods in org.spdx.storage.simple that throw InvalidSPDXAnalysisException Modifier and Type Method Description booleanExtendedSpdxStore. addValueToCollection(String documentUri, String id, String propertyName, Object value)booleanInMemSpdxStore. addValueToCollection(String documentUri, String id, String propertyName, Object value)protected voidExtendedSpdxStore. clear(String documentUri)Clear all values for the documentvoidExtendedSpdxStore. clearValueCollection(String documentUri, String id, String propertyName)voidInMemSpdxStore. clearValueCollection(String documentUri, String id, String propertyName)booleanExtendedSpdxStore. collectionContains(String documentUri, String id, String propertyName, Object value)booleanInMemSpdxStore. collectionContains(String documentUri, String id, String propertyName, Object value)intExtendedSpdxStore. collectionSize(String documentUri, String id, String propertyName)intInMemSpdxStore. collectionSize(String documentUri, String id, String propertyName)voidStoredTypedItem. copyValuesFrom(String fromDocumentUri, IModelStore store)Copy all values for this item from another storevoidExtendedSpdxStore. create(String documentUri, String id, String type)voidInMemSpdxStore. create(String documentUri, String id, String type)voidExtendedSpdxStore. delete(String documentUri, String elementId)voidInMemSpdxStore. delete(String documentUri, String id)IModelStore.IModelStoreLockExtendedSpdxStore. enterCriticalSection(String documentUri, boolean readLockRequested)Stream<TypedValue>ExtendedSpdxStore. getAllItems(String documentUri, String typeFilter)Stream<TypedValue>InMemSpdxStore. getAllItems(String documentUri, String typeFilter)protected StoredTypedItemInMemSpdxStore. getItem(String documentUri, String id)Gets the item from the hashmapStringExtendedSpdxStore. getNextId(IModelStore.IdType idType, String documentUri)StringInMemSpdxStore. getNextId(IModelStore.IdType idType, String documentUri)List<String>ExtendedSpdxStore. getPropertyValueNames(String documentUri, String id)List<String>InMemSpdxStore. getPropertyValueNames(String documentUri, String id)Optional<TypedValue>ExtendedSpdxStore. getTypedValue(String documentUri, String id)Optional<TypedValue>InMemSpdxStore. getTypedValue(String documentUri, String id)Optional<Object>ExtendedSpdxStore. getValue(String documentUri, String id, String propertyName)Optional<Object>InMemSpdxStore. getValue(String documentUri, String id, String propertyName)booleanExtendedSpdxStore. isCollectionMembersAssignableTo(String documentUri, String id, String propertyName, Class<?> clazz)booleanInMemSpdxStore. isCollectionMembersAssignableTo(String documentUri, String id, String propertyName, Class<?> clazz)booleanExtendedSpdxStore. isCollectionProperty(String documentUri, String id, String propertyName)booleanInMemSpdxStore. isCollectionProperty(String documentUri, String id, String propertyName)booleanExtendedSpdxStore. isPropertyValueAssignableTo(String documentUri, String id, String propertyName, Class<?> clazz)booleanInMemSpdxStore. isPropertyValueAssignableTo(String documentUri, String id, String propertyName, Class<?> clazz)Iterator<Object>ExtendedSpdxStore. listValues(String documentUri, String id, String propertyName)Iterator<Object>InMemSpdxStore. listValues(String documentUri, String id, String propertyName)voidExtendedSpdxStore. removeProperty(String documentUri, String id, String propertyName)voidInMemSpdxStore. removeProperty(String documentUri, String id, String propertyName)booleanExtendedSpdxStore. removeValueFromCollection(String documentUri, String id, String propertyName, Object value)booleanInMemSpdxStore. removeValueFromCollection(String documentUri, String id, String propertyName, Object value)voidExtendedSpdxStore. setValue(String documentUri, String id, String propertyName, Object value)voidInMemSpdxStore. setValue(String documentUri, String id, String propertyName, Object value)Constructors in org.spdx.storage.simple that throw InvalidSPDXAnalysisException Constructor Description StoredTypedItem(String documentUri, String id, String type) -
Uses of InvalidSPDXAnalysisException in org.spdx.utility.compare
Methods in org.spdx.utility.compare that throw InvalidSPDXAnalysisException Modifier and Type Method Description voidSpdxFileComparer. addDocumentFile(SpdxDocument spdxDocument, SpdxFile spdxFile)Add a file to the comparer and compare to the existing filesvoidSpdxItemComparer. addDocumentItem(SpdxDocument spdxDocument, SpdxItem spdxItem)Add a new item to the comparer and compare the contents of the item to all items which have been previously addedvoidSpdxPackageComparer. addDocumentPackage(SpdxDocument spdxDocument, SpdxPackage spdxPackage)Add a package to the comparer and performs the comparison to any existing documentsvoidSpdxSnippetComparer. addDocumentSnippet(SpdxDocument spdxDocument, SpdxSnippet snippet)Add a snippet to the comparer and performs the comparison to any existing documentsList<SpdxFile>SpdxComparer. collectAllFiles(SpdxDocument spdxDocument)Collect all of the files present in the SPDX document including files within documents and files embedded in packagesprotected List<SpdxPackage>SpdxComparer. collectAllPackages(SpdxDocument spdxDocument)Collect all of the packages present in the SPDX document including packages embedded in other relationships within documentsstatic booleanSpdxComparer. collectionsEquivalent(Collection<? extends ModelObject> collectionA, Collection<? extends ModelObject> collectionB)voidSpdxComparer. compare(List<SpdxDocument> spdxDocuments)Compares multiple SPDX documentsvoidSpdxComparer. compare(SpdxDocument spdxDoc1, SpdxDocument spdxDoc2)Compares 2 SPDX documentsstatic booleanSpdxComparer. elementsEquivalent(Optional<? extends ModelObject> elementA, Optional<? extends ModelObject> elementB)static List<Annotation>SpdxComparer. findUniqueAnnotations(Collection<Annotation> annotationsA, Collection<Annotation> annotationsB)Find any SPDX annotations which are in annotationsA but not in annotationsBstatic List<Checksum>SpdxComparer. findUniqueChecksums(Collection<Checksum> checksumsA, Collection<Checksum> checksumsB)Find any SPDX checksums which are in elementsA but not in elementsBstatic List<ExternalDocumentRef>SpdxComparer. findUniqueExternalDocumentRefs(Collection<ExternalDocumentRef> externalDocRefsA, Collection<ExternalDocumentRef> externalDocRefsB)Find unique relationships that are present in relationshipsA but not relationshipsBstatic List<Relationship>SpdxComparer. findUniqueRelationships(Collection<Relationship> relationshipsA, Collection<Relationship> relationshipsB)Find unique relationships that are present in relationshipsA but not relationshipsBstatic 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 booleanLicenseCompareHelper. isLicensePassBlackList(AnyLicenseInfo license, String... blackList)Detect if a license pass black listsstatic booleanLicenseCompareHelper. isLicensePassWhiteList(AnyLicenseInfo license, String... whiteList)Detect if a license pass white listsstatic CompareTemplateOutputHandler.DifferenceDescriptionLicenseCompareHelper. isTextStandardException(LicenseException exception, String compareText)Compares exception text to the exception text of an SPDX Standard exceptionstatic CompareTemplateOutputHandler.DifferenceDescriptionLicenseCompareHelper. isTextStandardLicense(License license, String compareText)Compares license text to the license text of an SPDX Standard Licensestatic List<String>LicenseCompareHelper. matchingStandardLicenseExceptionIdsWithinText(String text)Returns a list of SPDX Standard License Exception ID's that were found within the text, using the SPDX matching guidelines.static List<String>LicenseCompareHelper. matchingStandardLicenseExceptionIdsWithinText(String text, List<String> licenseExceptionIds)Returns a list of SPDX Standard License Exception ID's from the provided list that were found within the text, using the SPDX matching guidelines.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 List<String>LicenseCompareHelper. matchingStandardLicenseIdsWithinText(String text)Returns a list of SPDX Standard License ID's that were found within the text, using the SPDX matching guidelines.static List<String>LicenseCompareHelper. matchingStandardLicenseIdsWithinText(String text, List<String> licenseIds)Returns a list of SPDX Standard License ID's from the provided list that were found within the text, using the SPDX matching guidelines.Constructors in org.spdx.utility.compare that throw InvalidSPDXAnalysisException Constructor Description SpdxFileDifference(SpdxFile fileA, SpdxFile fileB, boolean concludedLicensesEqual, boolean seenLicensesEqual, List<AnyLicenseInfo> uniqueSeenLicensesA, List<AnyLicenseInfo> uniqueSeenLicensesB, boolean checksumsEquals, List<Checksum> uniqueChecksumsA, List<Checksum> uniqueChecksumsB, boolean relationshipsEquals, List<Relationship> uniqueRelationshipA, List<Relationship> uniqueRelationshipB, boolean annotationsEquals, List<Annotation> uniqueAnnotationsA, List<Annotation> uniqueAnnotationsB)SpdxItemDifference(SpdxItem itemA, SpdxItem itemB, boolean concludedLicensesEqual, boolean seenLicensesEqual, List<AnyLicenseInfo> uniqueSeenLicensesA, List<AnyLicenseInfo> uniqueSeenLicensesB, boolean relationshipsEquals, List<Relationship> uniqueRelationshipA, List<Relationship> uniqueRelationshipB, boolean annotationsEquals, List<Annotation> uniqueAnnotationsA, List<Annotation> uniqueAnnotationsB)SpdxLicenseDifference(ExtractedLicenseInfo licenseA, ExtractedLicenseInfo licenseB) -
Uses of InvalidSPDXAnalysisException in org.spdx.utility.verificationcode
Methods in org.spdx.utility.verificationcode that throw InvalidSPDXAnalysisException Modifier and Type Method Description SpdxPackageVerificationCodeVerificationCodeGenerator. generatePackageVerificationCode(File sourceDirectory, File[] skippedFiles, IModelStore modelStore, String documentUri)Generate the SPDX Package Verification Code from a directory of files included in the archiveSpdxPackageVerificationCodeVerificationCodeGenerator. generatePackageVerificationCode(File sourceDirectory, IModelStore modelStore, String documentUri)protected SpdxPackageVerificationCodeVerificationCodeGenerator. generatePackageVerificationCode(List<String> fileChecksums, String[] skippedFilePaths, IModelStore modelStore, String documentUri)SpdxPackageVerificationCodeVerificationCodeGenerator. generatePackageVerificationCode(SpdxFile[] spdxFiles, String[] skippedFilePaths, IModelStore modelStore, String documentUri)Generate the SPDX Package Verification Code from an array of SPDXFiles