Uses of Class
org.apache.creadur.whisker.model.License
Packages that use License
Package
Description
Models the domain, linking expected distribution contents to
licensing meta-data.
-
Uses of License in org.apache.creadur.whisker.fromxml
Methods in org.apache.creadur.whisker.fromxml that return LicenseModifier and TypeMethodDescriptionJDomBuilder.license
(org.jdom2.Element element) Builds a license model from xml.Finds the license with an id matching that referenced by the element.JDomBuilder.primaryLicense
(org.jdom2.Document document, Map<String, License> licenses) Finds the primary license for the given document from the given licenses.Methods in org.apache.creadur.whisker.fromxml that return types with arguments of type LicenseModifier and TypeMethodDescriptionJDomBuilder.mapLicenses
(org.jdom2.Document document) Collects license definitions within document.Method parameters in org.apache.creadur.whisker.fromxml with type arguments of type LicenseModifier and TypeMethodDescriptionJDomBuilder.collectContents
(org.jdom2.Document document, Map<String, License> licenses, Map<String, Organisation> organisations) Collects contents of the document.Finds the license with an id matching that referenced by the element.JDomBuilder.primaryLicense
(org.jdom2.Document document, Map<String, License> licenses) Finds the primary license for the given document from the given licenses.JDomBuilder.withinDirectory
(org.jdom2.Element element, Map<String, License> licenses, Map<String, Organisation> organisations) Builds a within directory model from XML.JDomBuilder.withLicense
(org.jdom2.Element element, Map<String, License> licenses, Map<String, Organisation> organisations) JDomBuilder.withLicenses
(Map<String, License> licenses, Map<String, Organisation> organisations, org.jdom2.Element parent) Collects child with-licenses. -
Uses of License in org.apache.creadur.whisker.model
Methods in org.apache.creadur.whisker.model that return LicenseModifier and TypeMethodDescriptionWithLicense.getLicense()
Gets license meta-data shared by the resources contained.Descriptor.getPrimaryLicense()
Gets the principle license under which the work is licensed.Gets the license with the given id.Stores the license by its id.Methods in org.apache.creadur.whisker.model that return types with arguments of type LicenseModifier and TypeMethodDescriptionLicenseAndOrganisationCollator.getLicenses()
Gets the licenses collected.Methods in org.apache.creadur.whisker.model with parameters of type LicenseModifier and TypeMethodDescriptionint
boolean
LicenseAndOrganisationCollator.isOnlyLicense
(License license) Was this the only license collected?boolean
Is the given license the principle license for the main work?Method parameters in org.apache.creadur.whisker.model with type arguments of type LicenseModifier and TypeMethodDescriptionStores the license by its id.Constructors in org.apache.creadur.whisker.model with parameters of type LicenseModifierConstructorDescriptionDescriptor
(License primaryLicense, String primaryCopyrightNotice, String primaryOrganisationId, String primaryNotice, Map<String, License> licenses, Map<String, String> notices, Map<String, Organisation> organisations, Collection<WithinDirectory> contents) Constructs a description of the expected licensing qualities of a distribution, with a primary additional copyright notice.Descriptor
(License primaryLicense, String primaryOrganisationId, String primaryNotice, Map<String, License> licenses, Map<String, String> notices, Map<String, Organisation> organisations, Collection<WithinDirectory> contents) Constructs a description of the expected licensing qualities of a distribution, with no additional primary copyright notice.WithLicense
(License license, String copyrightNotice, Map<String, String> parameters, Collection<ByOrganisation> organisations) Groups resources sharing a license and copyright claim.Constructor parameters in org.apache.creadur.whisker.model with type arguments of type LicenseModifierConstructorDescriptionDescriptor
(License primaryLicense, String primaryCopyrightNotice, String primaryOrganisationId, String primaryNotice, Map<String, License> licenses, Map<String, String> notices, Map<String, Organisation> organisations, Collection<WithinDirectory> contents) Constructs a description of the expected licensing qualities of a distribution, with a primary additional copyright notice.Descriptor
(License primaryLicense, String primaryOrganisationId, String primaryNotice, Map<String, License> licenses, Map<String, String> notices, Map<String, Organisation> organisations, Collection<WithinDirectory> contents) Constructs a description of the expected licensing qualities of a distribution, with no additional primary copyright notice.