|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<BindableDescriptor.GroupingMethod>
org.carrot2.util.attribute.BindableDescriptor.GroupingMethod
public static enum BindableDescriptor.GroupingMethod
The supported AttributeDescriptor grouping methods.
BindableDescriptor.group(GroupingMethod)| Enum Constant Summary | |
|---|---|
GROUP
Grouping by the "semantic" group assigned to the attribute. |
|
LEVEL
Grouping by the AttributeLevel. |
|
NONE
No grouping, all attributes will be put in BindableDescriptor.attributeDescriptors. |
|
STRUCTURE
Grouping by the Class in which the attribute is declared. |
|
| Method Summary | |
|---|---|
String |
toString()
|
static BindableDescriptor.GroupingMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static BindableDescriptor.GroupingMethod[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BindableDescriptor.GroupingMethod STRUCTURE
Class in which the attribute is declared. Attributes
defined directly in the top-level BindableDescriptor will be put in
BindableDescriptor.attributeDescriptors.
Group key type: Class.
public static final BindableDescriptor.GroupingMethod LEVEL
AttributeLevel. Attributes without
AttributeLevel will be put in
BindableDescriptor.attributeDescriptors.
Group key type: AttributeLevel
public static final BindableDescriptor.GroupingMethod GROUP
BindableDescriptor.attributeDescriptors.
Group key type: String.
AttributeMetadata.getGroup()public static final BindableDescriptor.GroupingMethod NONE
BindableDescriptor.attributeDescriptors.
BindableDescriptor.flatten()| Method Detail |
|---|
public static BindableDescriptor.GroupingMethod[] values()
for (BindableDescriptor.GroupingMethod c : BindableDescriptor.GroupingMethod.values()) System.out.println(c);
public static BindableDescriptor.GroupingMethod valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String toString()
toString in class Enum<BindableDescriptor.GroupingMethod>
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||