[From nobody Fri Aug 6 17:05:26 2004 X-Mozilla-Status2: 00000000 Message-ID: <3A3FCACF.535B9203@collab.net> Date: Tue, 19 Dec 2000 12:53:35 -0800 From: Jason Hunter <jhunter@collab.net> X-Mailer: Mozilla 4.75 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: "Normington, Paul" <pnormington@consilient.com> CC: "'jdom-interest@jdom.org'" <jdom-interest@jdom.org> Subject: Re: [jdom-interest] JDOM interfaces References: <375DFA286063D411AE5500D0B76FE8623BD299@home.infocanvas.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit > To achieve this cleanly, we would like to see > interfaces defined for all the JDOM objects. You can treat Element as an interface, and ignore that it happens to have a default implementation. Using a concrete class instead of an interface provides usability improvements, and allows us to make guarantees of certain things by implementing some methods as final. Look at it this way: there's a reason java.lang.Object isn't an interface. :-) -jh- ]