org.carrot2.source.xml
Class XmlDocumentSourceHelperDescriptor.AttributeBuilder

java.lang.Object
  extended by org.carrot2.source.xml.XmlDocumentSourceHelperDescriptor.AttributeBuilder
Enclosing class:
XmlDocumentSourceHelperDescriptor

public static class XmlDocumentSourceHelperDescriptor.AttributeBuilder
extends Object

Attribute map builder for the XmlDocumentSourceHelper 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 XmlDocumentSourceHelperDescriptor.AttributeBuilder(Map<String,Object> map)
          Creates a builder backed by the provided map.
 
Method Summary
 XmlDocumentSourceHelperDescriptor.AttributeBuilder timeout(int value)
          Data transfer timeout.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

public final Map<String,Object> map
The attribute map populated by this builder.

Constructor Detail

XmlDocumentSourceHelperDescriptor.AttributeBuilder

protected XmlDocumentSourceHelperDescriptor.AttributeBuilder(Map<String,Object> map)
Creates a builder backed by the provided map.

Method Detail

timeout

public XmlDocumentSourceHelperDescriptor.AttributeBuilder timeout(int value)
Data transfer timeout. Specifies the data transfer timeout, in seconds. A timeout value of zero is interpreted as an infinite timeout.

See Also:
XmlDocumentSourceHelper.timeout


Copyright (c) Dawid Weiss, Stanislaw Osinski