I am not sure, either, to be honest. But what problems are you seein when you are trying things as shown below ?

Werner

Yuriy Zubarev wrote:
Greetings,

When I get a reader in my module, I don't know in advance what concrete
class it's going to be unmarshalled to. All I know is that it's going to
be a sub-class of AbstractClass. Can Castor work with something like
this?

AbstractClass result = (AbstractClass)
Unmarshaller.unmarshal(AbstractClass.class, reader);

(doesn't work for me currently and I'm not sure if I have to create some
kind of special mapping to list all concrete classes)

Thank you,
Yuriy

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

    http://xircles.codehaus.org/manage_email






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

   http://xircles.codehaus.org/manage_email


Reply via email to