     <a href="http://download.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>...&nbsp;fieldsAndValues)</pre>
<div class="block">Generates a simple &lt;add&gt;&lt;doc&gt;... XML String with the
 commitWithin attribute.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>commitWithin</code> - the value of the commitWithin attribute</dd><dd><code>fieldsAndValues</code> - 0th and Even numbered args are fields names odds are 