metacat redundancy in reader and writer implementation of nodes
Two node hierarchies inherit from BasicNode in the metacat Reader and Writer
applications. In the DBWriter, the DBSAXNode class implements writing
functionality. In the DBReader, ElementNode and TextNode implement the reading
functionality. There is more overlap among these classes than is indicated by
the shred superclass -- they could probably be combined into one set of classes
that represent each node type. DBSAXDocument should also inherit from
BasicNode. This would be the first step in converting to a full DOM model API.
#1 Updated by Matt Jones over 21 years ago
When I refactored the class structure a month or so ago this issue became moot.
Now the DocumentImpl class handles both the reading and writing tasks associated
with documents, and neither uses the old class hierearchy, so DBReader,
DBWriter, and DBSAXNode are no longer used.