title: Digester rules xml to populate list of values
body: <p>I have an SDO-like object that I need to parse with the help of digester rules.
  Object can have a list that stores same types as object itself e.g.</p>
  
  <pre><code>  class SdoLike{
       private List&lt;SdoLike&gt; listValue;
  
      public addListValueItem(SdoLike sdoLike){
          this.listValue.add(sdoLike);
         }
      }
  </code></pre>
  
  <p>How to define digester rules for that in xml?</p>
  
  <pre><code>&lt;pattern value="ListValue"&gt;
              &lt;object-create-rule classname="SdoLike"/&gt;
                      &lt;!--.......... --&gt;
              &lt;set-next-rule methodname="addListValueItem"/&gt;
      &lt;/pattern&gt;
  </code></pre>
  
  <p>thanks.</p>