You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by John Gentilin <jo...@eyecatching.com> on 2001/07/01 02:34:48 UTC

DTMDefaultBase & DTMDefaultBaseIterator

Scott,

I have been going over this code to see how I can leverage it
in the construction of the SQL Extension. I was going to extend
DTMDefaultBase and override the required methods. Problem
is, the DTMDefaultBaseTraverser extends DTMDefaultBase
directly so I can't use my code. What I would like to do is create
separate classes DTMDocument, DTMTraverser, & DTMIterator.
The Traverser will take a DTMDocument as a constructor argument
so that any derived class can use the base Iterator and the DTMDocument
can take a DTMIteratorFactory so that it can produce Iterators. Seems
like a more generic solution ?? Do you see any design problems with this

approach ??

Thanks
John G