public static class Bing3DocumentSourceDescriptor.AttributeBuilder extends MultipageSearchEngineDescriptor.AttributeBuilder
Bing3DocumentSource 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 |
Bing3DocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
| Modifier and Type | Method and Description |
|---|---|
Bing3DocumentSourceDescriptor.AttributeBuilder |
adult(AdultOption value)
Adult search restriction (porn filter).
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
adult(org.carrot2.util.attribute.IObjectFactory<? extends AdultOption> value)
Adult search restriction (porn filter).
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
appid(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
Microsoft-assigned application ID for querying the API.
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
appid(String value)
Microsoft-assigned application ID for querying the API.
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
latitude(Double value)
Latitude (north/south coordinate).
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
latitude(org.carrot2.util.attribute.IObjectFactory<? extends Double> value)
Latitude (north/south coordinate).
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
longitude(Double value)
Longitude (east/west coordinate).
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
longitude(org.carrot2.util.attribute.IObjectFactory<? extends Double> value)
Longitude (east/west coordinate).
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
market(org.carrot2.util.attribute.IObjectFactory<? extends MarketOption> value)
Language and country/region information for the request.
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
market(MarketOption value)
Language and country/region information for the request.
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
redirectStrategy(HttpRedirectStrategy value)
HTTP redirect response strategy (follow or throw an error).
|
Bing3DocumentSourceDescriptor.AttributeBuilder |
redirectStrategy(org.carrot2.util.attribute.IObjectFactory<? extends HttpRedirectStrategy> value)
HTTP redirect response strategy (follow or throw an error).
|
searchMode, searchModecompressed, documents, query, query, results, results, resultsTotal, start, startpublic Bing3DocumentSourceDescriptor.AttributeBuilder appid(String value)
By default takes the system property's value under key: bing3.key.
Bing3DocumentSource.appidpublic Bing3DocumentSourceDescriptor.AttributeBuilder appid(org.carrot2.util.attribute.IObjectFactory<? extends String> value)
By default takes the system property's value under key: bing3.key.
Bing3DocumentSource.appidpublic Bing3DocumentSourceDescriptor.AttributeBuilder market(MarketOption value)
Bing3DocumentSource.marketpublic Bing3DocumentSourceDescriptor.AttributeBuilder market(org.carrot2.util.attribute.IObjectFactory<? extends MarketOption> value)
Bing3DocumentSource.marketpublic Bing3DocumentSourceDescriptor.AttributeBuilder adult(AdultOption value)
Bing3DocumentSource.adultpublic Bing3DocumentSourceDescriptor.AttributeBuilder adult(org.carrot2.util.attribute.IObjectFactory<? extends AdultOption> value)
Bing3DocumentSource.adultpublic Bing3DocumentSourceDescriptor.AttributeBuilder latitude(Double value)
Bing3DocumentSource.latitudepublic Bing3DocumentSourceDescriptor.AttributeBuilder latitude(org.carrot2.util.attribute.IObjectFactory<? extends Double> value)
Bing3DocumentSource.latitudepublic Bing3DocumentSourceDescriptor.AttributeBuilder longitude(Double value)
Bing3DocumentSource.longitudepublic Bing3DocumentSourceDescriptor.AttributeBuilder longitude(org.carrot2.util.attribute.IObjectFactory<? extends Double> value)
Bing3DocumentSource.longitudepublic Bing3DocumentSourceDescriptor.AttributeBuilder redirectStrategy(HttpRedirectStrategy value)
Bing3DocumentSource.redirectStrategypublic Bing3DocumentSourceDescriptor.AttributeBuilder redirectStrategy(org.carrot2.util.attribute.IObjectFactory<? extends HttpRedirectStrategy> value)
Bing3DocumentSource.redirectStrategy