Java/JAXB: Accessing property of object in a list
- by Mark Lewis
Hello
Using JAXB I've created a series of classes which represent my XML schema. Validating against the schema an XML file has thus become a 'tree' of java objects representing the XML. Now I'd like to access, delete and add an object of one the created types in my tree.
If I've got classes' methods arranged like this:
RootType class has:
…