Hi!

I've a custom unmarshaller from where I want to unmarshall elements (let's call it "File") which are defined in the XML binding file. The problem is that there is multiple "File" elements (for instance "<File_A>", "<File_B>", ...) and each one is mapped into the same class. If I put something like that in the binding :

<mapping type-name="File"
        class="example.File"
        abstract="true">
...
</mapping>

... I didn't find a way to call this mapping from the custom unmarshaller.

I don't want to write a custom unmarshaller for the "File" type since it is easier to write a XML mapping definition.

Is there a solution ?

Thanks,

Laurent

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users

Reply via email to