|
Carrot2 v3.5.2
API Documentation |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.carrot2.source.SearchEngineBaseDescriptor.AttributeBuilder
org.carrot2.source.MultipageSearchEngineDescriptor.AttributeBuilder
org.carrot2.source.microsoft.Bing2DocumentSourceDescriptor.AttributeBuilder
public static class Bing2DocumentSourceDescriptor.AttributeBuilder
Attribute map builder for the Bing2DocumentSource component. You can use this
builder as a type-safe alternative to populating the attribute map using attribute keys.
| Field Summary | |
|---|---|
Map<String,Object> |
map
The attribute map populated by this builder. |
| Constructor Summary | |
|---|---|
protected |
Bing2DocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Method Summary | |
|---|---|
Bing2DocumentSourceDescriptor.AttributeBuilder |
adult(AdultOption value)
Adult search restriction (porn filter). |
Bing2DocumentSourceDescriptor.AttributeBuilder |
adult(Class<? extends AdultOption> clazz)
Adult search restriction (porn filter). |
Bing2DocumentSourceDescriptor.AttributeBuilder |
appid(String value)
Microsoft-assigned application ID for querying the API. |
Bing2DocumentSourceDescriptor.AttributeBuilder |
market(Class<? extends MarketOption> clazz)
Language and country/region information for the request. |
Bing2DocumentSourceDescriptor.AttributeBuilder |
market(MarketOption value)
Language and country/region information for the request. |
Bing2DocumentSourceDescriptor.AttributeBuilder |
options(String value)
Miscellaneous request options. |
| Methods inherited from class org.carrot2.source.MultipageSearchEngineDescriptor.AttributeBuilder |
|---|
searchMode, searchMode |
| Methods inherited from class org.carrot2.source.SearchEngineBaseDescriptor.AttributeBuilder |
|---|
compressed, documents, query, results, resultsTotal, start |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Map<String,Object> map
| Constructor Detail |
|---|
protected Bing2DocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public Bing2DocumentSourceDescriptor.AttributeBuilder appid(String value)
Bing2DocumentSource.appidpublic Bing2DocumentSourceDescriptor.AttributeBuilder market(MarketOption value)
Bing2DocumentSource.marketpublic Bing2DocumentSourceDescriptor.AttributeBuilder market(Class<? extends MarketOption> clazz)
Bing2DocumentSource.marketpublic Bing2DocumentSourceDescriptor.AttributeBuilder adult(AdultOption value)
Bing2DocumentSource.adultpublic Bing2DocumentSourceDescriptor.AttributeBuilder adult(Class<? extends AdultOption> clazz)
Bing2DocumentSource.adultpublic Bing2DocumentSourceDescriptor.AttributeBuilder options(String value)
Options should be space-separated.
Bing2DocumentSource.options
|
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 | ||||||||