Suggested for Further Study

  1. The collections framework defines a number of principles through which the framework itself makes development easier. Take any two of these principles and describe them in your own words. Give examples where applicable.

  2. Update SortExample to use a ListIterator for traversal. Provide methods for displaying the list in backward and forward order.

  3. Update DOMList to be a real list. That is, implement the unsupported methods. You will need to map the DOMList back to its underlying parent document and make sure that any operations on the DOMList are applied to the parent.

  4. The sort methods in DOMCollectionUtilities.java are not quite correct in that they operate almost exclusively on ELEMENT_NODE elements. As we saw in Chapter ...

Get XML Development with Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.