[jdom-interest] Common interfaces..
Kenworthy, Edward
edward.kenworthy at exchange.co.uk
Fri May 4 06:49:10 PDT 2001
*Nod*. I hadn't actually used toString() myself but I assumed it was that
which the default tree cell renderer used rather than getSerializedForm().
(I know use my own tree cell renderer btw).
-----Original Message-----
From: Jochen Kirn [mailto:J.Kirn at gmx.de]
Sent: 04 May 2001 14:34
To: jdom-interest at jdom.org
Subject: RE: [jdom-interest] Common interfaces..
Kennworthz, Edward wrotes:
> Perhaps I am missing something but surely separation of the view from the
> model dictates that it should be ?
>
> +Certainly "How do
> +I get the string form of an Element/Attribute/Comment/Document/etc."
> +is a FAQ
>
> toString() is already implemented isn't it ? I've certainly seen Element
> stringify itself.
rather use getSerializedForm() , the toString() method is only for debugging
or informative sort of use (it is stated in the javadocs btw).
sers
Jochen
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
_______________________________________________
To control your jdom-interest membership:
http://lists.denveronline.net/mailman/options/jdom-interest/youraddr@yourhos
t.com
More information about the jdom-interest
mailing list