title: Does java allow for nested properties?
body: <p>I'm referring to something like this in xml format:</p>
  
  <pre><code>&lt;entry name="apple"&gt;
      &lt;property name="red" /&gt;
      &lt;property name="shiny" /&gt;
      &lt;property name="fresh" /&gt;
      &lt;property name="ripe" /&gt;
      &lt;property name="crunchy" /&gt;
  &lt;/entry&gt;
  &lt;entry name="plum"&gt;
      &lt; rinse and repeat &gt; ....
  </code></pre>
  
  <p>From what I have read on java's "Property" class, it's a very linear approach to creating properties in a Hashtable.  It's getProp(K,V).  Maybe the best way to do this is with an XML parser?  That way I could make the object type "fruit" and traverse through the properties and load them.  Any advice would be greatly appreciated.  Thank you in advance.  </p>