Say I have:

version1 elements a, b, and c
version2 elements a, b, c, and d

I want to make both extend an interface with:

getA getB and getC

So, the generated code _HAS_ those 3 methods...

I could parse to XmlObject and cast to the interface without
knowing/caring about the underlying schema type...

It would all work _GREAT_...

Except for ONE PROBLEM...

*I'm forced to create a handler to map between getA() and getA()!

I really, really, really want to be allowed to specify the extension
INTERFACE _without_ specifying an extension HANDLER.

OH- actually- I want to be able to specify a HANDLER than DOES NOT
implement ALL the methods!  In the above scenario, I could have a
handler that implemented ONLY getD(), which used reflection to pass
it through to the XmlObject *if* such a method existed on it, or do
something else if necessary!

SO: Request summary:

A way to specify a HANDLER that only implements SOME or NONE of the
methods in the INTERFACE!!!

please please please?

-Thanks! -Tom

-- 
"Let us do our duty in our shop or our kitchen, the market, the street, the
office, the school, the home, just as faithfully as if we stood in the front
rank of some great battle, and we knew that victory for mankind depended upon
our bravery, strength, and skill.  When we do that the humblest of us will be
serving in that great army which achieves the welfare of the world."
 --Theodore Parker

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to