Interface ILicenseTemplateOutputHandler

  • All Known Implementing Classes:
    HtmlTemplateOutputHandler, 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 Detail

      • text

        void text​(String text)
        Text for processing
        Parameters:
        text - text to be processed
      • variableRule

        void variableRule​(LicenseTemplateRule rule)
        Variable rule found within the template
        Parameters:
        rule - license template rule
      • beginOptional

        void beginOptional​(LicenseTemplateRule rule)
        Begin optional rule found
        Parameters:
        rule - optional rule
      • endOptional

        void endOptional​(LicenseTemplateRule rule)
        End optional rule found
        Parameters:
        rule - end optional rule