Uses of Interface
org.spdx.licenseTemplate.ILicenseTemplateOutputHandler
Packages that use ILicenseTemplateOutputHandler
Package
Description
Utility classes for comparing SPDX model objects
-
Uses of ILicenseTemplateOutputHandler in org.spdx.licenseTemplate
Classes in org.spdx.licenseTemplate that implement ILicenseTemplateOutputHandlerModifier and TypeClassDescriptionclassLicense template output handler for generating an HTML version of a license from a license template.classLicense template output handler for generating a text version of a license from a license template.Methods in org.spdx.licenseTemplate with parameters of type ILicenseTemplateOutputHandlerModifier and TypeMethodDescriptionstatic voidSpdxLicenseTemplateHelper.parseTemplate(String licenseTemplate, ILicenseTemplateOutputHandler templateOutputHandler) Parses the license template calling the templateOutputHandler for any text and rules found -
Uses of ILicenseTemplateOutputHandler in org.spdx.utility.compare
Classes in org.spdx.utility.compare that implement ILicenseTemplateOutputHandlerModifier and TypeClassDescriptionclassCompares the output of a parsed license template to text.classDeprecated.classConstructs a regular expression from a license or exception template and provide a matching method to see if code matching the template exists within the text provided Note that the regular expression assumes a fully normalized text string to matchisTemplateMatchWithinText(String text)will return true if the text text matches the templategetQuickMatchRegex()will return a regular expression with limited backtracking which can be used for a quick searchgetCompleteRegex()will return a regular expression for the entire license wheregetStartRegex(int wordLimit)will return a regular expression to match the beginning of a license andgetEndRegex(int wordLimit)will return a regular expression to match the end of a license
TemplateRegexMatcherclass should be used in place of this class.