|
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.SimpleSearchEngineDescriptor.AttributeBuilder
org.carrot2.source.xml.RemoteXmlSimpleSearchEngineBaseDescriptor.AttributeBuilder
org.carrot2.source.etools.EToolsDocumentSourceDescriptor.AttributeBuilder
public static class EToolsDocumentSourceDescriptor.AttributeBuilder
Attribute map builder for the EToolsDocumentSource 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 |
EToolsDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map. |
| Methods inherited from class org.carrot2.source.xml.RemoteXmlSimpleSearchEngineBaseDescriptor.AttributeBuilder |
|---|
xmlDocumentSourceHelper |
| 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 EToolsDocumentSourceDescriptor.AttributeBuilder(Map<String,Object> map)
| Method Detail |
|---|
public EToolsDocumentSourceDescriptor.AttributeBuilder serviceUrlBase(String value)
EToolsDocumentSource.serviceUrlBasepublic EToolsDocumentSourceDescriptor.AttributeBuilder country(EToolsDocumentSource.Country value)
EToolsDocumentSource.countrypublic EToolsDocumentSourceDescriptor.AttributeBuilder country(Class<? extends EToolsDocumentSource.Country> clazz)
EToolsDocumentSource.countrypublic EToolsDocumentSourceDescriptor.AttributeBuilder language(EToolsDocumentSource.Language value)
EToolsDocumentSource.languagepublic EToolsDocumentSourceDescriptor.AttributeBuilder language(Class<? extends EToolsDocumentSource.Language> clazz)
EToolsDocumentSource.languagepublic EToolsDocumentSourceDescriptor.AttributeBuilder timeout(int value)
EToolsDocumentSource.timeoutpublic EToolsDocumentSourceDescriptor.AttributeBuilder dataSources(EToolsDocumentSource.DataSources value)
EToolsDocumentSource.dataSourcespublic EToolsDocumentSourceDescriptor.AttributeBuilder dataSources(Class<? extends EToolsDocumentSource.DataSources> clazz)
EToolsDocumentSource.dataSourcespublic EToolsDocumentSourceDescriptor.AttributeBuilder safeSearch(boolean value)
EToolsDocumentSource.safeSearchpublic EToolsDocumentSourceDescriptor.AttributeBuilder partnerId(String value)
EToolsDocumentSource.partnerId
|
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 | ||||||||