JAXB and XMLBeans Question


XML & Web services: JAXB and XMLBeans Question

  1. JAXB and XMLBeans Question (3 messages)

    Does anyone know how to control the depth of unmarshalling in either of these technologies? Let me explain depth with an example
    Assume a I have Customer Object which contains Address Object and when I want to unmarshal the XML, I wanted to unmarshal only customer and not the contained object (meaning the depth is 1).

    Is there anyway I can control the depth?


    Threaded Messages (3)

  2. JAXB and XMLBeans Question[ Go to top ]

    This would really be good, I agree. I dont think even the spec answers this!

  3. JiBX project[ Go to top ]

    Have you looked at JiBX?

  4. JiBX project[ Go to top ]

    Thanks a lot. I will go thro it and let you know. In the mean time I have a quick question.
    Is it based on JAXB or is it different from JAXB? (Atleast for XMLBeans there is a roadmap to merge JAXB and XMLBeans tech in the future)