public final class DefaultTokenizerFactoryDescriptor extends Object implements org.carrot2.util.attribute.IBindableDescriptor
DefaultTokenizerFactory
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.DefaultTokenizerFactoryModifier and Type | Class and Description |
---|---|
static class |
DefaultTokenizerFactoryDescriptor.AttributeBuilder
Attribute map builder for the
DefaultTokenizerFactory component. |
static class |
DefaultTokenizerFactoryDescriptor.Attributes
All attributes of the
DefaultTokenizerFactory component. |
static class |
DefaultTokenizerFactoryDescriptor.Keys
Constants for all attribute keys of the
DefaultTokenizerFactory component. |
Modifier and Type | Field and Description |
---|---|
static DefaultTokenizerFactoryDescriptor.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 |
---|
DefaultTokenizerFactoryDescriptor() |
Modifier and Type | Method and Description |
---|---|
static DefaultTokenizerFactoryDescriptor.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 DefaultTokenizerFactoryDescriptor.Attributes attributes
public static DefaultTokenizerFactoryDescriptor.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