Hi All,
I am new to castor and need to decide quickly whether I want to go with
it.
Basically I want to map an existing object to an XML. Now that object
may be a very different view of the XML. Is there a way
for defining such a mapping in castor. For e.g. if the xml is like
<a>
<forallothertags>
<commonVal>
comm1
</commonVal>
<commonVal>
comm1
</commonVal>
</forallother tags>
<b>
<c> cval </c>
<c> cval1 </c>
<c> cval1 </c>
</b>
<d> dval </d>
</a>
I want an Object hierarchy like this
class MyObject { //Maps to A
B b;
String dval; //Maps to value of D tag
}
class B { //maps to b
Vector commonVal;
Vector C; //Maps to all combination of C
}
Will appreciate any help. Thanx.
Regards
Yash
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-dev