public final class DefaultStemmerFactoryDescriptor extends Object implements org.carrot2.util.attribute.IBindableDescriptor
DefaultStemmerFactory
component. You can use
this descriptor to obtain metadata, such as human readable name and description, about the component
as a whole as well as about its attributes. Using the attributeBuilder(Map)
you can obtain a builder for type-safe generation of the attribute maps. Please see the
main overview for a complete code example.
Generated from org.carrot2.text.linguistic.DefaultStemmerFactoryModifier and Type | Class and Description |
---|---|
static class |
DefaultStemmerFactoryDescriptor.AttributeBuilder
Attribute map builder for the
DefaultStemmerFactory component. |
static class |
DefaultStemmerFactoryDescriptor.Attributes
All attributes of the
DefaultStemmerFactory component. |
static class |
DefaultStemmerFactoryDescriptor.Keys
Constants for all attribute keys of the
DefaultStemmerFactory component. |
Modifier and Type | Field and Description |
---|---|
static DefaultStemmerFactoryDescriptor.Attributes |
attributes
Attributes of the component.
|
String |
bindableClassName
The component class for which this descriptor was generated.
|
String |
description
A longer, possibly multi sentence, description of the component.
|
String |
label
A short label for the component.
|
String |
prefix
Attribute prefix used by the component.
|
String |
title
A one sentence summary of the component.
|
Constructor and Description |
---|
DefaultStemmerFactoryDescriptor() |
Modifier and Type | Method and Description |
---|---|
static DefaultStemmerFactoryDescriptor.AttributeBuilder |
attributeBuilder(Map<String,Object> attributeValues)
Creates an attribute map builder for the component.
|
Set<org.carrot2.util.attribute.AttributeInfo> |
getAttributes() |
Map<String,org.carrot2.util.attribute.AttributeInfo> |
getAttributesByFieldName() |
Map<String,org.carrot2.util.attribute.AttributeInfo> |
getAttributesByKey() |
String |
getDescription() |
String |
getLabel() |
Set<org.carrot2.util.attribute.AttributeInfo> |
getOwnAttributes() |
String |
getPrefix() |
String |
getTitle() |
public final String bindableClassName
public final String prefix
public final String title
public final String label
public final String description
public static final DefaultStemmerFactoryDescriptor.Attributes attributes
public static DefaultStemmerFactoryDescriptor.AttributeBuilder attributeBuilder(Map<String,Object> attributeValues)
attributeValues
- An existing map which should be used to collect attribute values.
Attribute values set by this builder will be added to the provided map, overwriting
previously defined mappings, if any.public String getPrefix()
getPrefix
in interface org.carrot2.util.attribute.IBindableDescriptor
public String getTitle()
getTitle
in interface org.carrot2.util.attribute.IBindableDescriptor
public String getLabel()
getLabel
in interface org.carrot2.util.attribute.IBindableDescriptor
public String getDescription()
getDescription
in interface org.carrot2.util.attribute.IBindableDescriptor
public Set<org.carrot2.util.attribute.AttributeInfo> getOwnAttributes()
getOwnAttributes
in interface org.carrot2.util.attribute.IBindableDescriptor
public Set<org.carrot2.util.attribute.AttributeInfo> getAttributes()
getAttributes
in interface org.carrot2.util.attribute.IBindableDescriptor
public Map<String,org.carrot2.util.attribute.AttributeInfo> getAttributesByKey()
getAttributesByKey
in interface org.carrot2.util.attribute.IBindableDescriptor