Java object mapping namespace. Note: this namespace is not part of the public API of clj-spdx and may change without notice.
Java object mapping namespace. Note: this namespace is not part of the public API of clj-spdx and may change without notice.
(cross-ref->map cr)
Turns a org.spdx.library.model.license.CrossRef object into a map. All map keys are optional, but may include: :is-wayback-link? - boolean :live? - boolean :match - string :order - integer :timestamp - string :url - string :valid? - boolean
See https://spdx.github.io/Spdx-Java-Library/org/spdx/library/model/license/CrossRef.html for more information.
Turns a org.spdx.library.model.license.CrossRef object into a map. All map keys are optional, but may include: :is-wayback-link? - boolean :live? - boolean :match - string :order - integer :timestamp - string :url - string :valid? - boolean See https://spdx.github.io/Spdx-Java-Library/org/spdx/library/model/license/CrossRef.html for more information.
(exception->map exc)
Turns a org.spdx.library.model.license.ListedLicenseException object into a map. All map keys are optional, but may include: :id - string (an SPDX identifier) :name - string :comment - string :see-also - sequence of strings :deprecated? - boolean :deprecated-version - string :text - string :text-html - string :text-template - string
See https://spdx.github.io/Spdx-Java-Library/org/spdx/library/model/license/ListedLicenseException.html for more information.
Turns a org.spdx.library.model.license.ListedLicenseException object into a map. All map keys are optional, but may include: :id - string (an SPDX identifier) :name - string :comment - string :see-also - sequence of strings :deprecated? - boolean :deprecated-version - string :text - string :text-html - string :text-template - string See https://spdx.github.io/Spdx-Java-Library/org/spdx/library/model/license/ListedLicenseException.html for more information.
(id->exception id)
Turns a valid exception id into a org.spdx.library.model.license.ListedLicenseException object, or returns nil. Note: unlike the underlying Java library it only handles listed SPDX exception ids.
Turns a valid exception id into a org.spdx.library.model.license.ListedLicenseException object, or returns nil. Note: unlike the underlying Java library it only handles listed SPDX exception ids.
(id->license id)
Turns a valid license id into a org.spdx.library.model.license.SpdxListedLicense object, or returns nil. Note: unlike the underlying Java library it only handles listed SPDX license ids.
Turns a valid license id into a org.spdx.library.model.license.SpdxListedLicense object, or returns nil. Note: unlike the underlying Java library it only handles listed SPDX license ids.
(license->map lic)
Turns a org.spdx.library.model.license.SpdxListedLicense object into a map. All map keys are optional, but may include: :id - string (an SPDX identifier) :name - string :comment - string :see-also - sequence of strings :cross-refs - sequence of maps (see cross-ref->map for details) :deprecated? - boolean :deprecated-version - string :fsf-libre? - boolean :osi-approved? - boolean :text - string :text-html - string :text-template - string :header - string :header-html - string :header-template - string
See https://spdx.github.io/Spdx-Java-Library/org/spdx/library/model/license/SpdxListedLicense.html for more information.
Turns a org.spdx.library.model.license.SpdxListedLicense object into a map. All map keys are optional, but may include: :id - string (an SPDX identifier) :name - string :comment - string :see-also - sequence of strings :cross-refs - sequence of maps (see cross-ref->map for details) :deprecated? - boolean :deprecated-version - string :fsf-libre? - boolean :osi-approved? - boolean :text - string :text-html - string :text-template - string :header - string :header-html - string :header-template - string See https://spdx.github.io/Spdx-Java-Library/org/spdx/library/model/license/SpdxListedLicense.html for more information.
(listed-exception-id? id)
Is the given id one of the listed SPDX exception identifiers?
Is the given id one of the listed SPDX exception identifiers?
(listed-license-id? id)
Is the given id one of the listed SPDX license identifiers?
Is the given id one of the listed SPDX license identifiers?
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close