"Karim" wrote
My first idea is to create an *docrules* class which holds my
document.
Why not create a Document class that is your document.
This class will use 2 other instances from 2 respectives classes
reader and writer. The main method of reader is get().
The main method of writer is
Hi Karim,
it's difficult to comment as to me the problem is not quite clear.
But I try ;-)
You have a complex xml and need to read different data types. For each
type you have certain rules, how to extract them from the xml (docrules).
You could create a DocRule class, that do nothing but hol
Hello All,
I want to build some classes by optimizing their design.
But I want to keep quite 'simples'. I have a XML document
which represents let's say some rules (id, description, value).
My first idea is to create an *docrules* class which holds my document.
This class will use 2 other ins