How could I convert a XML Document to a Java Object (or Array)? I readed the XML like this:
DocumentBuilderFactory dFactory = DocumentBuilderFactory.newInsta
I recommend using XStream for XML (de)serialization. It's way simpler than using Java's built-in XML APIs.