| Package | Description |
|---|---|
| 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.tools |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SpdxDocumentContainer.addCheckNodeObject(org.apache.jena.graph.Node node,
IRdfModel nodeObject) |
boolean |
SPDXDocument.addCheckNodeObject(org.apache.jena.graph.Node node,
IRdfModel rdfModelObject)
Deprecated.
|
boolean |
IModelContainer.addCheckNodeObject(org.apache.jena.graph.Node node,
IRdfModel rdfModelObject)
Add a node object to the container.
|
static boolean |
RdfModelHelper.arraysEquivalent(IRdfModel[] array1,
IRdfModel[] array2)
Compares 2 arrays to see if the property values for the element RdfModelObjects are the same independent of
order and considering nulls
|
static boolean |
RdfModelHelper.arraysEquivalent(IRdfModel[] array1,
IRdfModel[] array2)
Compares 2 arrays to see if the property values for the element RdfModelObjects are the same independent of
order and considering nulls
|
org.apache.jena.rdf.model.Resource |
SpdxDocumentContainer.createResource(org.apache.jena.rdf.model.Resource duplicate,
String uri,
org.apache.jena.rdf.model.Resource type,
IRdfModel nodeObject) |
org.apache.jena.rdf.model.Resource |
SPDXDocument.createResource(org.apache.jena.rdf.model.Resource duplicate,
String uri,
org.apache.jena.rdf.model.Resource type,
IRdfModel modelObject)
Deprecated.
|
org.apache.jena.rdf.model.Resource |
IModelContainer.createResource(org.apache.jena.rdf.model.Resource duplicate,
String uri,
org.apache.jena.rdf.model.Resource type,
IRdfModel modelObject)
Create a resource in the model
|
static boolean |
RdfModelHelper.equivalentConsideringNull(IRdfModel o1,
IRdfModel o2)
Compares the properties of two RdfModelObjects considering possible null values
|
| Modifier and Type | Class and Description |
|---|---|
class |
AnyLicenseInfo
This abstract class represents several ways of describing licensing information.
|
class |
ConjunctiveLicenseSet
A set of licenses where all of the licenses apply
|
class |
DisjunctiveLicenseSet
A set of licenses where there is a choice of one of the licenses in the set
|
class |
ExtractedLicenseInfo
An ExtractedLicensingInfo represents a license or licensing notice that was found in the package.
|
class |
License
Describes a license
All licenses have an ID.
|
class |
LicenseException
Represents an SPDX license exception as defined in the License Expression Language
Used with the "with" unary expression.
|
class |
LicenseSet
A specific form of license information where there is a set of licenses
represented
|
class |
OrLaterOperator
A license that has an or later operator (e.g.
|
class |
SimpleLicensingInfo
The SimpleLicenseInfo class includes all resources that represent
simple, atomic, licensing information.
|
class |
SpdxListedLicense
Listed license for SPDX as listed at spdx.org/licenses
|
class |
SpdxNoAssertionLicense
Special class of license to represent no asserted license license in the file or packages
|
class |
SpdxNoneLicense
A special license meaning that no license was found
|
class |
WithExceptionOperator
A license that has a With exception operator (e.g.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ListedLicenses.addCheckNodeObject(org.apache.jena.graph.Node node,
IRdfModel rdfModelObject) |
org.apache.jena.rdf.model.Resource |
ListedLicenses.createResource(org.apache.jena.rdf.model.Resource duplicate,
String uri,
org.apache.jena.rdf.model.Resource type,
IRdfModel modelObject) |
boolean |
WithExceptionOperator.equivalent(IRdfModel compare) |
boolean |
SpdxNoneLicense.equivalent(IRdfModel compare) |
boolean |
SpdxNoAssertionLicense.equivalent(IRdfModel compare) |
boolean |
SpdxListedLicense.equivalent(IRdfModel compare) |
boolean |
SimpleLicensingInfo.equivalent(IRdfModel compare) |
boolean |
OrLaterOperator.equivalent(IRdfModel compare) |
boolean |
LicenseSet.equivalent(IRdfModel compare) |
boolean |
LicenseException.equivalent(IRdfModel compare) |
boolean |
License.equivalent(IRdfModel compare) |
boolean |
ExtractedLicenseInfo.equivalent(IRdfModel compare) |
boolean |
DisjunctiveLicenseSet.equivalent(IRdfModel compare) |
boolean |
ConjunctiveLicenseSet.equivalent(IRdfModel compare) |
| Modifier and Type | Class and Description |
|---|---|
class |
Annotation
An Annotation is a comment on an SpdxItem by an agent.
|
class |
Checksum
A Checksum is value that allows the contents of a file to be authenticated.
|
class |
DoapProject
Contains a DOAP project
Currently, only the home page and name properties are supported
|
class |
ExternalDocumentRef
Information about an external SPDX document reference including the checksum.
|
class |
ExternalRef
An External Reference allows a Package to reference an external source of
additional information, metadata, enumerations, asset identifiers, or downloadable content believed to
be relevant to the Package.
|
class |
ExternalSpdxElement
This is an SPDX element which is in an external document.
|
class |
RdfModelObject
The superclass for all classes the use the Jena RDF model.
|
class |
Relationship
A Relationship represents a relationship between two SpdxElements.
|
class |
SpdxDocument
An SpdxDocument is a summary of the contents, provenance, ownership and licensing
analysis of a specific software package.
|
class |
SpdxElement
An SpdxElement is any thing described in SPDX, either a document or an SpdxItem.
|
class |
SpdxFile
A File represents a named sequence of information
that is contained in a software package.
|
class |
SpdxItem
An SpdxItem is a potentially copyrightable work.
|
class |
SpdxPackage
A Package represents a collection of software files that are
delivered as a single functional component.
|
class |
SpdxSnippet |
| Modifier and Type | Method and Description |
|---|---|
boolean |
SpdxElement.arraysEquivalent(IRdfModel[] array1,
IRdfModel[] array2)
Compares 2 arrays to see if the property values for the element RdfModelObjects are the same independent of
order and considering nulls
|
boolean |
SpdxElement.arraysEquivalent(IRdfModel[] array1,
IRdfModel[] array2)
Compares 2 arrays to see if the property values for the element RdfModelObjects are the same independent of
order and considering nulls
|
boolean |
RdfModelObject.arraysEquivalent(IRdfModel[] array1,
IRdfModel[] array2)
Compares 2 arrays to see if the property values for the element RdfModelObjects are the same independent of
order and considering nulls
|
boolean |
RdfModelObject.arraysEquivalent(IRdfModel[] array1,
IRdfModel[] array2)
Compares 2 arrays to see if the property values for the element RdfModelObjects are the same independent of
order and considering nulls
|
boolean |
SpdxElement.arraysEquivalent(IRdfModel[] array1,
IRdfModel[] array2,
boolean testRelationships)
Compares 2 arrays to see if the property values for the element RdfModelObjects are the same independent of
order and considering nulls
|
boolean |
SpdxElement.arraysEquivalent(IRdfModel[] array1,
IRdfModel[] array2,
boolean testRelationships)
Compares 2 arrays to see if the property values for the element RdfModelObjects are the same independent of
order and considering nulls
|
boolean |
SpdxSnippet.equivalent(IRdfModel o) |
boolean |
SpdxPackage.equivalent(IRdfModel o) |
boolean |
SpdxItem.equivalent(IRdfModel o) |
boolean |
SpdxFile.equivalent(IRdfModel o) |
boolean |
SpdxElement.equivalent(IRdfModel o) |
boolean |
SpdxDocument.equivalent(IRdfModel o) |
boolean |
Relationship.equivalent(IRdfModel o) |
boolean |
IRdfModel.equivalent(IRdfModel compare)
Returns true if the compare object contains properties which would be equal if they were contained in the same RDF Model
|
boolean |
ExternalSpdxElement.equivalent(IRdfModel o) |
boolean |
ExternalRef.equivalent(IRdfModel compare) |
boolean |
ExternalDocumentRef.equivalent(IRdfModel compare) |
boolean |
DoapProject.equivalent(IRdfModel compare) |
boolean |
Checksum.equivalent(IRdfModel compare) |
boolean |
Annotation.equivalent(IRdfModel o) |
boolean |
SpdxSnippet.equivalent(IRdfModel o,
boolean testRelationships) |
boolean |
SpdxPackage.equivalent(IRdfModel o,
boolean testRelationships) |
boolean |
SpdxItem.equivalent(IRdfModel o,
boolean testRelationships) |
boolean |
SpdxFile.equivalent(IRdfModel o,
boolean testRelationships) |
boolean |
SpdxElement.equivalent(IRdfModel o,
boolean testRelationships)
Test for equivalent
|
boolean |
SpdxDocument.equivalent(IRdfModel o,
boolean testRelationships) |
boolean |
ExternalSpdxElement.equivalent(IRdfModel o,
boolean testRelationships) |
boolean |
SpdxElement.equivalentConsideringNull(IRdfModel o1,
IRdfModel o2)
Compares the properties of two RdfModelObjects considering possible null values
|
boolean |
RdfModelObject.equivalentConsideringNull(IRdfModel o1,
IRdfModel o2)
Compares the properties of two RdfModelObjects considering possible null values
|
| Modifier and Type | Class and Description |
|---|---|
class |
ByteOffsetPointer |
class |
CompoundPointer
A pointing method made up of a pair of pointers that identify a well defined section within a document delimited by a begin and an end.
|
class |
LineCharPointer |
class |
SinglePointer
A pointing method made up of a unique pointer.
|
class |
StartEndPointer
A compound pointer pointing out parts of a document by means of a range delimited by a pair of single pointers that define the start point and the end point.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
StartEndPointer.equivalent(IRdfModel compare) |
boolean |
SinglePointer.equivalent(IRdfModel compare) |
boolean |
LineCharPointer.equivalent(IRdfModel o) |
boolean |
CompoundPointer.equivalent(IRdfModel o) |
boolean |
ByteOffsetPointer.equivalent(IRdfModel o) |
| Modifier and Type | Class and Description |
|---|---|
class |
ReferenceType
Type of external reference
Note that there are very few required fields for this class in that
the external reference type does not need to be provided in the SPDX
document for the document to be valid.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ReferenceType.equivalent(IRdfModel compare) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
LicenseContainer.addCheckNodeObject(org.apache.jena.graph.Node node,
IRdfModel rdfModelObject) |
org.apache.jena.rdf.model.Resource |
LicenseContainer.createResource(org.apache.jena.rdf.model.Resource duplicate,
String uri,
org.apache.jena.rdf.model.Resource type,
IRdfModel modelObject) |
Copyright © 2017 Linux Foundation. All Rights Reserved.