Project

General

Profile

Bug #21

metacat redundancy in reader and writer implementation of nodes

Added by Matt Jones almost 20 years ago. Updated about 18 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
metacat
Target version:
Start date:
06/13/2000
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
21

Description

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.

History

#1 Updated by Matt Jones over 19 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.

#2 Updated by Redmine Admin about 7 years ago

Original Bugzilla ID was 21

Also available in: Atom PDF