public static class RemoteXmlSimpleSearchEngineBaseDescriptor.AttributeBuilder extends SimpleSearchEngineDescriptor.AttributeBuilder
RemoteXmlSimpleSearchEngineBase
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 |
AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.
|
Modifier and Type | Method and Description |
---|---|
RemoteXmlSimpleSearchEngineBaseDescriptor.AttributeBuilder |
redirectStrategy(HttpRedirectStrategy value)
HTTP redirect response strategy (follow or throw an error).
|
RemoteXmlSimpleSearchEngineBaseDescriptor.AttributeBuilder |
redirectStrategy(org.carrot2.util.attribute.IObjectFactory<? extends HttpRedirectStrategy> value)
HTTP redirect response strategy (follow or throw an error).
|
XmlDocumentSourceHelperDescriptor.AttributeBuilder |
xmlDocumentSourceHelper()
Returns an attribute builder for the nested
XmlDocumentSourceHelper component, backed by the same attribute map
as the current builder. |
compressed, documents, query, query, results, results, resultsTotal, start, start
public RemoteXmlSimpleSearchEngineBaseDescriptor.AttributeBuilder redirectStrategy(HttpRedirectStrategy value)
public RemoteXmlSimpleSearchEngineBaseDescriptor.AttributeBuilder redirectStrategy(org.carrot2.util.attribute.IObjectFactory<? extends HttpRedirectStrategy> value)
public XmlDocumentSourceHelperDescriptor.AttributeBuilder xmlDocumentSourceHelper()
XmlDocumentSourceHelper
component, backed by the same attribute map
as the current builder.