|
Carrot2 v3.6.0-SNAPSHOT
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.source.microsoft.Bing2DocumentSourceDescriptor
@Generated(value="Generated from org.carrot2.source.microsoft.Bing2DocumentSource") public final class Bing2DocumentSourceDescriptor
Metadata and attributes of the Bing2DocumentSource 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.
| Nested Class Summary | |
|---|---|
static class |
Bing2DocumentSourceDescriptor.AttributeBuilder
Attribute map builder for the Bing2DocumentSource component. |
static class |
Bing2DocumentSourceDescriptor.Attributes
All attributes of the Bing2DocumentSource component. |
static class |
Bing2DocumentSourceDescriptor.Keys
Constants for all attribute keys of the Bing2DocumentSource component. |
| Field Summary | |
|---|---|
static Bing2DocumentSourceDescriptor.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 Summary | |
|---|---|
Bing2DocumentSourceDescriptor()
|
|
| Method Summary | |
|---|---|
static Bing2DocumentSourceDescriptor.AttributeBuilder |
attributeBuilder(Map<String,Object> attributeValues)
Creates an attribute map builder for the component. |
Set<AttributeInfo> |
getAttributes()
Returns descriptors of attributes declared by the component or its superclasses. |
Map<String,AttributeInfo> |
getAttributesByFieldName()
Returns descriptors of attributes declared by the component or its superclasses mapped by the field name. |
Map<String,AttributeInfo> |
getAttributesByKey()
Returns descriptors of attributes declared by the component or its superclasses mapped by the attribute key. |
String |
getDescription()
Returns a one sentence summary of the component. |
String |
getLabel()
Returns a short label for the component. |
Set<AttributeInfo> |
getOwnAttributes()
Returns descriptors of attributes declared directly by the component. |
String |
getPrefix()
Returns the attribute prefix used by the component. |
String |
getTitle()
Returns a one sentence summary of the component. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final String bindableClassName
public final String prefix
public final String title
public final String label
public final String description
public static final Bing2DocumentSourceDescriptor.Attributes attributes
| Constructor Detail |
|---|
public Bing2DocumentSourceDescriptor()
| Method Detail |
|---|
public static Bing2DocumentSourceDescriptor.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()
IBindableDescriptor
getPrefix in interface IBindableDescriptorpublic String getTitle()
IBindableDescriptor
getTitle in interface IBindableDescriptorpublic String getLabel()
IBindableDescriptor
getLabel in interface IBindableDescriptorpublic String getDescription()
IBindableDescriptor
getDescription in interface IBindableDescriptorpublic Set<AttributeInfo> getOwnAttributes()
IBindableDescriptor
getOwnAttributes in interface IBindableDescriptorpublic Set<AttributeInfo> getAttributes()
IBindableDescriptor
getAttributes in interface IBindableDescriptorpublic Map<String,AttributeInfo> getAttributesByKey()
IBindableDescriptor
getAttributesByKey in interface IBindableDescriptorpublic Map<String,AttributeInfo> getAttributesByFieldName()
IBindableDescriptor
getAttributesByFieldName in interface IBindableDescriptor
|
Please refer to project documentation at
http://project.carrot2.org |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||