This question was closed by the community.
I don't agree this it wasn't a real question, I admit it wasn't a good question, but it is a real question.
Obviously the OP doesn't know how Java
Objects work, I don't think that that should lead to the question being closed.
The question itself is fairly clear. What the OP wants to do is laid out clearly at top (read some XML objects into Java
Objects, though not in those words) and the OP posted some code to demonstrate that they tried to solve the issue.
So, my question is: Should this question have been closed and if so why? (And if it shouldn't have been closed maybe it should be reopened...).
P.S. This meta answer recommended that posting here was the right approach if I did not agree with a close decision.