public static class Bing3NewsDocumentSourceDescriptor.AttributeBuilder extends Bing3DocumentSourceDescriptor.AttributeBuilder
Bing3NewsDocumentSource 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 |
Bing3NewsDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
Bing3NewsDocumentSourceDescriptor.AttributeBuilder |
newsCategory(org.carrot2.util.attribute.IObjectFactory<? extends NewsCategory> value)
Specifies news category.
|
Bing3NewsDocumentSourceDescriptor.AttributeBuilder |
newsCategory(NewsCategory value)
Specifies news category.
|
Bing3NewsDocumentSourceDescriptor.AttributeBuilder |
sortOrder(org.carrot2.util.attribute.IObjectFactory<? extends SortOrder> value)
Specifies the sort order of results.
|
Bing3NewsDocumentSourceDescriptor.AttributeBuilder |
sortOrder(SortOrder value)
Specifies the sort order of results.
|
adult, adult, appid, appid, latitude, latitude, longitude, longitude, market, market, redirectStrategy, redirectStrategysearchMode, searchModecompressed, documents, query, query, results, results, resultsTotal, start, startpublic Bing3NewsDocumentSourceDescriptor.AttributeBuilder sortOrder(SortOrder value)
Bing3NewsDocumentSource.sortOrderpublic Bing3NewsDocumentSourceDescriptor.AttributeBuilder sortOrder(org.carrot2.util.attribute.IObjectFactory<? extends SortOrder> value)
Bing3NewsDocumentSource.sortOrderpublic Bing3NewsDocumentSourceDescriptor.AttributeBuilder newsCategory(NewsCategory value)
Bing3NewsDocumentSource.newsCategorypublic Bing3NewsDocumentSourceDescriptor.AttributeBuilder newsCategory(org.carrot2.util.attribute.IObjectFactory<? extends NewsCategory> value)
Bing3NewsDocumentSource.newsCategory