public static class StopLabelFilterDescriptor.AttributeBuilder extends Object
StopLabelFilter
component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.Modifier and Type | Field and Description |
---|---|
Map<String,Object> |
map
The attribute map populated by this builder.
|
Modifier | Constructor and Description |
---|---|
protected |
AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
Modifier and Type | Method and Description |
---|---|
StopLabelFilterDescriptor.AttributeBuilder |
enabled(boolean value)
Remove stop labels.
|
StopLabelFilterDescriptor.AttributeBuilder |
enabled(org.carrot2.util.attribute.IObjectFactory<? extends Boolean> value)
Remove stop labels.
|
LabelFormatterDescriptor.AttributeBuilder |
labelFormatter()
Returns an attribute builder for the nested
LabelFormatter component, backed by the same attribute map
as the current builder. |
public StopLabelFilterDescriptor.AttributeBuilder enabled(boolean value)
StopLabelFilter.enabled
public StopLabelFilterDescriptor.AttributeBuilder enabled(org.carrot2.util.attribute.IObjectFactory<? extends Boolean> value)
StopLabelFilter.enabled
public LabelFormatterDescriptor.AttributeBuilder labelFormatter()
LabelFormatter
component, backed by the same attribute map
as the current builder.