How to Read from a DOM Tree
The Unmarshaller interface provides a variant of the unmarshall method that reads a DOM Node.
Node node = ...;
Unmarshaller m = ...;
MovieLibrary library = (MovieLibrary) m.unmarshal(node); // read from DOM node
The Unmarshaller interface provides a variant of the unmarshall method that reads a DOM Node.
Node node = ...;
Unmarshaller m = ...;
MovieLibrary library = (MovieLibrary) m.unmarshal(node); // read from DOM node