when
Add a ConditionalTokenFilterFactory to the analysis chain
TokenFilters added by subsequent calls to [ConditionBuilder.addTokenFilter] and related functions will only be used if the current token matches the condition. Consumers must call [ConditionBuilder.endwhen] to return to the normal tokenfilter chain once conditional filters have been added
Parameters
is used to look up the factory with TokenFilterFactory.forName
the parameters to be passed to the factory
Add a ConditionalTokenFilterFactory to the analysis chain
TokenFilters added by subsequent calls to [ConditionBuilder.addTokenFilter] and related functions will only be used if the current token matches the condition. Consumers must call [ConditionBuilder.endwhen] to return to the normal tokenfilter chain once conditional filters have been added
Parameters
is used to look up the factory with TokenFilterFactory.forName
the parameters to be passed to the factory. The map must be modifiable
Add a ConditionalTokenFilterFactory to the analysis chain
TokenFilters added by subsequent calls to [ConditionBuilder.addTokenFilter] and related functions will only be used if the current token matches the condition. Consumers must call [ConditionBuilder.endwhen] to return to the normal tokenfilter chain once conditional filters have been added
Parameters
class that is used to create the ConditionalTokenFilter
the parameters to be passed to the factory
Add a ConditionalTokenFilterFactory to the analysis chain
TokenFilters added by subsequent calls to [ConditionBuilder.addTokenFilter] and related functions will only be used if the current token matches the condition. Consumers must call [ConditionBuilder.endwhen] to return to the normal tokenfilter chain once conditional filters have been added
Parameters
class that is used to create the ConditionalTokenFilter
the parameters to be passed to the factory. The map must be modifiable
Add a ConditionalTokenFilterFactory to the analysis chain
TokenFilters added by subsequent calls to [ConditionBuilder.addTokenFilter] and related functions will only be used if the current token matches the condition. Consumers must call [ConditionBuilder.endwhen] to return to the normal tokenfilter chain once conditional filters have been added