All,
 
I have an XML with a structure that might look like so:
<foo>
  <element_one>something</element_one>
  <element_two>something else</element_two>
  <element_three>another thing</element_three>
  <element_four>more stuff</element_four>
  <element_five>even more stuff</element_five>
</foo>

And a class structure like so:

Public class Foo
{
  private String onething;
  private Bar moreStuff;

  public void SetOneThing (String one)
  ...

  public String GetOneThing() 
  ....

  public void SetMoreStuff (Bar bar);
  ...

  public Bar GetMoreStuff();
  ...

}

Public class Bar
{
  private String anotherThing;
  private String moreThings;

  ...
}


So, here's the question:  Can I map the XML above... And it's flat, so
that it'll create a Foo and fill it?
I'm not sure how to map/bind the Bar in the map.

Thanks,
g

 
Garret Schweitzer 

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to