Package org.spdx.licenseTemplate
Interface ILicenseTemplateOutputHandler
- All Known Implementing Classes:
CompareTemplateOutputHandler,FilterTemplateOutputHandler,HtmlTemplateOutputHandler,TemplateRegexMatcher,TextTemplateOutputHandler
public interface ILicenseTemplateOutputHandler
Handles output for parsed license templates. The methods are called during parsing
to handle the parsed rules and text.
- Author:
- Gary O'Neall
-
Method Summary
Modifier and TypeMethodDescriptionvoidBegin optional rule foundvoidSignals all text has been added and parsing can be completed.voidEnd optional rule foundvoidText for processingvoidVariable rule found within the template
-
Method Details
-
text
Text for processing- Parameters:
text-
-
variableRule
Variable rule found within the template- Parameters:
rule-
-
beginOptional
Begin optional rule found- Parameters:
rule-
-
endOptional
End optional rule found- Parameters:
rule-
-
completeParsing
Signals all text has been added and parsing can be completed.- Throws:
LicenseParserException
-