🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: fr.comp.text.xml
Article #8685

Re: Creer un fichier XML avec Java

#8685
From: Joseph Vallot
Date: Fri, 31 Aug 2001 09:04
21 lines
1604 bytes
Alain Ketterlin wrote:


> > Document doc = new DocumentImpl();
> > 
> > �a permet de changer d'impl�mentation en changeant juste l'import
> > (voire m�me � runtime en instanciant via un "Class.forName(<chemin
> > complet vers DocumentImpl>)").


> Non non, une autre implementation n'est pas du tout obligee d'appeler
> sa classe DocumentImpl (qui dans un monde meilleur ne serait meme pas
> publique).


raison de plus pour utiliser Class.forName, alors...
� moins qu'il n'y ait une fa�on plus rus�e d'instancier un Document �vec du code ind�pendant de l'impl�mentation.


-- 
Joseph
Technical Details
Message-ID: <hqIj7.1407$tT7.666727@nnrp6.proxad.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!teaser.fr!proxad.net!feeder2-1.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail
References: <wyu1yq0xnm.fsf@polya.u-strasbg.fr>

Show Full Headers
Complete Article Headers
X-Google-Language: FRENCH,ASCII
X-Google-Thread: 114f60,c05393c0d7fa8fdb
X-Google-Attributes: gid114f60,public
X-Google-ArrivalTime: 2001-08-31 02:04:14 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!newsfeed.stanford.edu!news.tele.dk!small.news.tele.dk!213.56.195.71!fr.usenet-edu.net!usenet-edu.net!teaser.fr!proxad.net!feeder2-1.proxad.net!nnrp6.proxad.net.POSTED!not-for-mail
From:  vallot@yahoo.com (Joseph Vallot)
Reply-To:  vallot@yahoo.com (Joseph Vallot)
Newsgroups:  fr.comp.text.xml
Subject:  Re: Creer un fichier XML avec Java
References:  <wyu1yq0xnm.fsf@polya.u-strasbg.fr>
X-ip: 62.161.61.19 (62.161.61.19) - 
Organization:  Organisation
Lines: 23
Message-ID: <hqIj7.1407$tT7.666727@nnrp6.proxad.net>
Date: Fri, 31 Aug 2001 09:04:13 GMT
NNTP-Posting-Host: 213.186.33.51
X-Complaints-To: abuse@proxad.net
X-Trace: nnrp6.proxad.net 999248653 213.186.33.51 (Fri, 31 Aug 2001 11:04:13 CEST)
NNTP-Posting-Date: Fri, 31 Aug 2001 11:04:13 CEST