java xml binding with fine grained inheritance??

E

Elhanan

hi..

i'm looking for an xml binding tool that will allow me to customize a
schema with inheritance..


for example say i have the following:

i wanna be able to define CaseObject and payment elemns as both
subclasses of CaseObject.

i wanna be able to define DateType as SubClass of Data class and have
it be a property of CaseObject..


also CaseObject may have several Typeid numbers at runtime and i want
each one to be of different subclass of CaseObject

i release as i write this that is insance, but i would like to avoid
writing this myself.


<CaseObject TypeId=232

<AttibuteValueType>
<AttributeValue>
<DataType Year="" Month="", day=""/>
</AttributeValue>

</AttibuteValueType>


</CaseObject

<Payment >
</Payment>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,983
Messages
2,570,187
Members
46,747
Latest member
jojoBizaroo

Latest Threads

Top