Project

General

Profile

Actions

Bug #21

closed

metacat redundancy in reader and writer implementation of nodes

Added by Matt Jones almost 24 years ago. Updated about 22 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.

Actions #1

Updated by Matt Jones over 23 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.

Actions #2

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 21

Actions

Also available in: Atom PDF