Uses of Class
org.cyclonedx.model.LicenseChoice
-
Packages that use LicenseChoice Package Description org.cyclonedx.model org.cyclonedx.util org.cyclonedx.util.deserializer org.cyclonedx.util.serializer -
-
Uses of LicenseChoice in org.cyclonedx.model
Fields in org.cyclonedx.model declared as LicenseChoice Modifier and Type Field Description private LicenseChoiceComponent. licensesprivate LicenseChoiceEvidence. licensesprivate LicenseChoiceMetadata. licensesprivate LicenseChoiceService. licensesMethods in org.cyclonedx.model that return LicenseChoice Modifier and Type Method Description LicenseChoiceService. getLicense()Deprecated.LicenseChoiceComponent. getLicenseChoice()Deprecated.LicenseChoiceEvidence. getLicenseChoice()Deprecated.LicenseChoiceMetadata. getLicenseChoice()Deprecated.LicenseChoiceComponent. getLicenses()LicenseChoiceEvidence. getLicenses()LicenseChoiceMetadata. getLicenses()LicenseChoiceService. getLicenses()Methods in org.cyclonedx.model with parameters of type LicenseChoice Modifier and Type Method Description voidService. setLicense(LicenseChoice licenseChoice)Deprecated.voidComponent. setLicenseChoice(LicenseChoice licenseChoice)Deprecated.voidEvidence. setLicenseChoice(LicenseChoice licenseChoice)Deprecated.voidMetadata. setLicenseChoice(LicenseChoice licenseChoice)Deprecated.voidComponent. setLicenses(LicenseChoice licenses)voidEvidence. setLicenses(LicenseChoice licenses)voidMetadata. setLicenses(LicenseChoice licenses)voidService. setLicenses(LicenseChoice licenses) -
Uses of LicenseChoice in org.cyclonedx.util
Methods in org.cyclonedx.util that return LicenseChoice Modifier and Type Method Description private static LicenseChoiceLicenseResolver. createLicenseChoice(java.lang.String licenseId, java.lang.String primaryLicenseUrl, boolean isDeprecatedLicenseId, LicenseResolver.LicenseTextSettings licenseTextSettings)static LicenseChoiceLicenseResolver. resolve(java.lang.String licenseString)Attempts to resolve the specified license string via SPDX license identifier and expression parsing first.static LicenseChoiceLicenseResolver. resolve(java.lang.String licenseString, boolean includeLicenseText)Attempts to resolve the specified license string via SPDX license identifier and expression parsing first.(package private) static LicenseChoiceLicenseResolver. resolve(java.lang.String licenseString, boolean includeLicenseText, com.fasterxml.jackson.databind.ObjectMapper mapper)static LicenseChoiceLicenseResolver. resolve(java.lang.String licenseString, LicenseResolver.LicenseTextSettings licenseTextSettings)Attempts to resolve the specified license string via SPDX license identifier and expression parsing first.(package private) static LicenseChoiceLicenseResolver. resolve(java.lang.String licenseString, LicenseResolver.LicenseTextSettings licenseTextSettings, com.fasterxml.jackson.databind.ObjectMapper mapper)private static LicenseChoiceLicenseResolver. resolveFuzzyMatching(java.lang.String licenseString, LicenseResolver.LicenseTextSettings licenseTextSettings, com.fasterxml.jackson.databind.ObjectMapper mapper)Attempts to perform high-confidence license resolution with unstructured text as input.private static LicenseChoiceLicenseResolver. resolveLicenseString(java.lang.String licenseString, LicenseResolver.LicenseTextSettings licenseTextSettings, com.fasterxml.jackson.databind.ObjectMapper mapper)Given an SPDX license ID or expression, this method will resolve the license(s) and return a LicenseChoice object. -
Uses of LicenseChoice in org.cyclonedx.util.deserializer
Methods in org.cyclonedx.util.deserializer that return LicenseChoice Modifier and Type Method Description LicenseChoiceLicenseDeserializer. deserialize(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.DeserializationContext ctxt)Methods in org.cyclonedx.util.deserializer with parameters of type LicenseChoice Modifier and Type Method Description private voidLicenseDeserializer. processExpression(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.JsonNode node, LicenseChoice licenseChoice, com.fasterxml.jackson.databind.DeserializationContext ctxt)private voidLicenseDeserializer. processLicenseNode(com.fasterxml.jackson.core.JsonParser p, com.fasterxml.jackson.databind.JsonNode licenseNode, LicenseChoice licenseChoice) -
Uses of LicenseChoice in org.cyclonedx.util.serializer
Methods in org.cyclonedx.util.serializer with parameters of type LicenseChoice Modifier and Type Method Description voidLicenseChoiceSerializer. serialize(LicenseChoice licenseChoice, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)private voidLicenseChoiceSerializer. serializeExpressionToJson(LicenseChoice licenseChoice, com.fasterxml.jackson.core.JsonGenerator gen)private voidLicenseChoiceSerializer. serializeExpressionToXml(LicenseChoice licenseChoice, com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator toXmlGenerator)private voidLicenseChoiceSerializer. serializeJson(LicenseChoice licenseChoice, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)private voidLicenseChoiceSerializer. serializeLicensesToJsonArray(LicenseChoice licenseChoice, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider)private voidLicenseChoiceSerializer. serializeXml(com.fasterxml.jackson.dataformat.xml.ser.ToXmlGenerator toXmlGenerator, LicenseChoice lc, com.fasterxml.jackson.databind.SerializerProvider provider)Constructor parameters in org.cyclonedx.util.serializer with type arguments of type LicenseChoice Constructor Description LicenseChoiceSerializer(java.lang.Class<LicenseChoice> t, boolean isXml, Version version)
-