If you want to work with non-static inner classes you'd need to supply a factory method, which would have to have some way of looking up the containing class instance. This is necessary because the constructor for a non-static inner class actually takes an instance of the containing class as a hidden parameter. The tutorial has a section on user extension methods which would let you get started, if this is what you need to do.
- Dennis
Tchavdar Ivanov wrote:
[bind] org.jibx.runtime.JiBXException: Class sample.test.Msg not found in any classpath at tag "mapping"(line 15, col 70, in folderlist.xml) [bind] Root cause: org.jibx.runtime.JiBXException: Class sample.test.Msg not found in any classpath
I am getting the above error messages because I'm trying to access an inner class in my binding:
<mapping name="msg" class="sample.test.Msg">
package sample; class test { class Msg{} }
Am I doing something wrong?
Thanks, Chav Ivanov
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
jibx-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jibx-users
