hi, coming from a different problem, we, i guess, need the same solution. to be able to make some kind of "lazy initialization" or better "lazy transformation", it must be possible to get the containing structure of any element/tag that jibx is working on, which is, at the moment, not possible. if you write your own unmarshaller you will see that there is now way to retrieve the string representation between the opening tag and the closing tag from the unmarshalling context. but that would be something you might need to do this "lazy transformation". if there would be such a method to get this from the unmarshalling context, you would be able to write an unmarshaller that could provide some sort of lazy transformation.
therefor, and if i didn't get this discussion wrong, it would be great to have access to the whole content of an element (there is a "getContent()" method on the unmarshalling context, but this retrieves the content in the means of XML, which is everything that is NOT within enclosed elements, but of course without enclodes elements). br, guenther Am 14.11.2007 um 13:42 schrieb Thomas Jones-Low: > Julien Chevalier wrote: >> Hi everyone. >> >> I've been using jibx for almost a year now. Excellent binder. >> But I've only been working on mid sized XML files. >> >> I'm faced today to huge XML files (something larger than 100 Mb) >> And linears treatments can be long although they are simple and not >> ressources consuming. >> My question is : >> >> Is there any way to wrap a mapped class into a buffer so that we >> could >> load data "on demand" >> >> Sincerely >> > > I've had very good luck with StringReader() class to provide input to > read consumers like JiBX. The ReadData wrapper class would read the > unparsed XML into a string, then use StringReader on the string to > pass > it to JiBX, then return the marshalled object. > > > > -- > Thomas Jones-Low Softstart Services Inc. > [EMAIL PROTECTED] JobScheduler for Oracle > Ph: 802-398-1012 http://www.softstart.com > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. > Still grepping through log files to find problems? Stop. > Now Search log events and configuration files using AJAX and a > browser. > Download your FREE copy of Splunk now >> http://get.splunk.com/ > _______________________________________________ > jibx-users mailing list > jibx-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/jibx-users > -- Günther Wieser creative-it Guglgasse 6/1/11/1 A-1110 Wien [EMAIL PROTECTED] http://www.creative-it.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ jibx-users mailing list jibx-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jibx-users