| Package | Description |
|---|---|
| org.spdx.compare | |
| org.spdx.html | |
| org.spdx.rdfparser | |
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
CompareHelper.formatSpdxElementList(SpdxElement[] elements) |
| Constructor and Description |
|---|
ElementContext(SpdxElement element,
Map<String,String> spdxIdToUrl) |
| Modifier and Type | Method and Description |
|---|---|
SpdxElement |
SpdxDocumentContainer.findElementById(String id)
Find an element within the container by the SPDX Identifier.
|
| Modifier and Type | Method and Description |
|---|---|
List<SpdxElement> |
SpdxDocumentContainer.findAllElements()
Returns all elements in the contains
|
| Modifier and Type | Method and Description |
|---|---|
void |
SpdxDocumentContainer.addElement(SpdxElement element)
Add an SPDX element directly to the model without connecting it to any properties
|
| Modifier and Type | Class and Description |
|---|---|
class |
ExternalSpdxElement
This is an SPDX element which is in an external document.
|
class |
SpdxDocument
An SpdxDocument is a summary of the contents, provenance, ownership and licensing
analysis of a specific software package.
|
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 |
|---|---|
SpdxElement |
SpdxElement.clone() |
SpdxElement |
SpdxElement.clone(Map<String,SpdxElement> clonedElementIds)
Clones this element, but prevents infinite recursion by
keeping track of all elements which have been cloned
|
static SpdxElement |
SpdxElementFactory.createElementFromModel(IModelContainer modelContainer,
org.apache.jena.graph.Node node) |
protected SpdxElement |
RdfModelObject.findElementPropertyValue(String namespace,
String propertyName)
Find an SPDX element with a subject of this object
|
protected SpdxElement[] |
RdfModelObject.findMultipleElementPropertyValues(String namespace,
String propertyName)
Finds all SPDX elements with a subject of this object
|
SpdxElement |
Relationship.getRelatedSpdxElement() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
RdfModelObject.addPropertyValue(String nameSpace,
String propertyName,
SpdxElement element)
Adds an SPDX element property value for this resource without removing the old property values
|
protected void |
RdfModelObject.addPropertyValue(String nameSpace,
String propertyName,
SpdxElement element,
boolean updateModel)
Adds an SPDX element property value for this resource without removing the old property values
|
boolean |
SpdxElement.equivalentConsideringNull(SpdxElement o1,
SpdxElement o2,
boolean testRelationship)
Compares the properties of two RdfModelObjects considering possible null values
|
protected void |
RdfModelObject.setPropertyValue(String nameSpace,
String propertyName,
SpdxElement element) |
protected void |
RdfModelObject.setPropertyValue(String nameSpace,
String propertyName,
SpdxElement[] element) |
protected void |
RdfModelObject.setPropertyValue(String nameSpace,
String propertyName,
SpdxElement[] elements,
boolean updateModel)
Sets the spdx element property value for this resource
|
protected void |
RdfModelObject.setPropertyValue(String nameSpace,
String propertyName,
SpdxElement element,
boolean updateModel)
Sets the spdx element property value for this resource
|
void |
Relationship.setRelatedSpdxElement(SpdxElement relatedSpdxElement) |
| Modifier and Type | Method and Description |
|---|---|
SpdxSnippet |
SpdxSnippet.clone(Map<String,SpdxElement> clonedElementIds) |
SpdxPackage |
SpdxPackage.clone(Map<String,SpdxElement> clonedElementIds) |
SpdxItem |
SpdxItem.clone(Map<String,SpdxElement> clonedElementIds) |
SpdxFile |
SpdxFile.clone(Map<String,SpdxElement> clonedElementIds) |
SpdxElement |
SpdxElement.clone(Map<String,SpdxElement> clonedElementIds)
Clones this element, but prevents infinite recursion by
keeping track of all elements which have been cloned
|
Relationship |
Relationship.clone(Map<String,SpdxElement> clonedElementIds) |
SpdxFile[] |
SpdxFile.cloneFileDependencies(Map<String,SpdxElement> clonedElementIds) |
protected Relationship[] |
SpdxElement.cloneRelationships(Map<String,SpdxElement> clonedElementIds) |
| Constructor and Description |
|---|
Relationship(SpdxElement relatedSpdxElement,
Relationship.RelationshipType relationshipType,
String comment) |
| Modifier and Type | Field and Description |
|---|---|
protected SpdxElement |
SinglePointer.reference
The document within which the pointer is applicable or meaningful.
|
| Modifier and Type | Method and Description |
|---|---|
SpdxElement |
SinglePointer.getReference() |
| Modifier and Type | Method and Description |
|---|---|
void |
SinglePointer.setReference(SpdxElement reference) |
| Constructor and Description |
|---|
ByteOffsetPointer(SpdxElement reference,
int offset) |
LineCharPointer(SpdxElement reference,
int lineNumber) |
SinglePointer(SpdxElement reference) |
Copyright © 2017 Linux Foundation. All Rights Reserved.