Title: sax-like jaxb

Hi,

I must write a xml parser that reads records and process them individually due to memory constraints. I cannot read the whole file into memory. Second, the schema is complex so I'd like the binding and unmarshalling benefits of JAXB.

I'm looking for some ContentHandler that can report new objects on the fly:
+ public void startObject(Object object);
+ public void endObject(Object object);

Also, I'd like to denote objects that I want detached from the graph. Meaning - I don't want every 'transaction' object to be added to the 'batch' they are a part of.

Can I have all this out-of-the-box or with a few lines of code?

Regards,
Henning Storhaug

Reply via email to