public class TextTemplateOutputHandler extends Object implements ILicenseTemplateOutputHandler
| Constructor and Description |
|---|
TextTemplateOutputHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
beginOptional(LicenseTemplateRule rule)
Begin optional rule found
|
void |
completeParsing()
Signals all text has been added and parsing can be completed.
|
void |
endOptional(LicenseTemplateRule rule)
End optional rule found
|
String |
getText() |
void |
text(String text)
Text for processing
|
void |
variableRule(LicenseTemplateRule rule)
Variable rule found within the template
|
public void text(String text)
ILicenseTemplateOutputHandlertext in interface ILicenseTemplateOutputHandlerpublic void variableRule(LicenseTemplateRule rule)
ILicenseTemplateOutputHandlervariableRule in interface ILicenseTemplateOutputHandlerpublic void beginOptional(LicenseTemplateRule rule)
ILicenseTemplateOutputHandlerbeginOptional in interface ILicenseTemplateOutputHandlerpublic void endOptional(LicenseTemplateRule rule)
ILicenseTemplateOutputHandlerendOptional in interface ILicenseTemplateOutputHandlerpublic String getText()
public void completeParsing()
ILicenseTemplateOutputHandlercompleteParsing in interface ILicenseTemplateOutputHandlerCopyright © 2018 Linux Foundation. All Rights Reserved.