Package org.spdx.utility.compare
Class FilterTemplateOutputHandler
java.lang.Object
org.spdx.utility.compare.FilterTemplateOutputHandler
- All Implemented Interfaces:
ILicenseTemplateOutputHandler
@Deprecated
public class FilterTemplateOutputHandler
extends Object
implements ILicenseTemplateOutputHandler
Deprecated.
- Author:
- Gary O'Neall
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeprecated.static enumDeprecated. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFilterTemplateOutputHandler(boolean includeVarText) Deprecated.FilterTemplateOutputHandler(FilterTemplateOutputHandler.VarTextHandling varTextHandling) Deprecated.FilterTemplateOutputHandler(FilterTemplateOutputHandler.VarTextHandling varTextHandling, FilterTemplateOutputHandler.OptionalTextHandling optionalTextHandling) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionvoidDeprecated.Begin optional rule foundvoidDeprecated.Signals all text has been added and parsing can be completed.voidDeprecated.End optional rule foundDeprecated.Deprecated.booleanDeprecated.voidDeprecated.Text for processingvoidDeprecated.Variable rule found within the template
-
Field Details
-
REGEX_ESCAPE
Deprecated.- See Also:
-
-
Constructor Details
-
FilterTemplateOutputHandler
Deprecated.- Parameters:
includeVarText- if true, include the default variable text
-
FilterTemplateOutputHandler
Deprecated.- Parameters:
varTextHandling- include original, exclude, or include the regex (enclosed with "~~~") for "var" text
-
FilterTemplateOutputHandler
public FilterTemplateOutputHandler(FilterTemplateOutputHandler.VarTextHandling varTextHandling, FilterTemplateOutputHandler.OptionalTextHandling optionalTextHandling) Deprecated.- Parameters:
varTextHandling- include original, exclude, or include the regex (enclosed with "~~~") for "var" textoptionalTextHandling- include optional text, exclude, or include a regex for the optional text
-
-
Method Details
-
text
Deprecated.Description copied from interface:ILicenseTemplateOutputHandlerText for processing- Specified by:
textin interfaceILicenseTemplateOutputHandler
-
variableRule
Deprecated.Description copied from interface:ILicenseTemplateOutputHandlerVariable rule found within the template- Specified by:
variableRulein interfaceILicenseTemplateOutputHandler
-
beginOptional
Deprecated.Description copied from interface:ILicenseTemplateOutputHandlerBegin optional rule found- Specified by:
beginOptionalin interfaceILicenseTemplateOutputHandler
-
endOptional
Deprecated.Description copied from interface:ILicenseTemplateOutputHandlerEnd optional rule found- Specified by:
endOptionalin interfaceILicenseTemplateOutputHandler
-
completeParsing
public void completeParsing()Deprecated.Description copied from interface:ILicenseTemplateOutputHandlerSignals all text has been added and parsing can be completed.- Specified by:
completeParsingin interfaceILicenseTemplateOutputHandler
-
isIncludeVarText
public boolean isIncludeVarText()Deprecated.- Returns:
- the includeVarText
-
getVarTextHandling
Deprecated.- Returns:
- the varTextHandling
-
getFilteredText
Deprecated.- Returns:
- the filteredText
-
TemplateRegexMatcherclass should be used in place of this class. This class will be removed in the next major release. Filter the template output to create a list of strings filtering out optional and/or var text