[jdom-interest] Feature request

Eric VERGNAUD eric.vergnaud at wanadoo.fr
Fri Jul 4 16:56:42 PDT 2003


le 5/07/03 1:35, Bradley S. Huffman à hip at cs.okstate.edu a écrit :

> Eric VERGNAUD writes:
> 
>> le 5/07/03 0:41, Bradley S. Huffman =E0 hip at cs.okstate.edu a =E9crit=A0:
>> 
>>> You mean like
>>> =20
>>>   child3 =3D new Element(("child_level_3");
>>>   child2.addContent(child3 );
>> 
>> Yes, but addContent won't take an Element as a parameter, will it ?
> 
> Sure it will.
> 
> Brad

It does indeed ! thanks.

But by what kind of magic ? I hadn't even tried it, because I see no
relationship whatsoever between Element class and the addContent parameter
classes ? Can someone explain ?

Eric





More information about the jdom-interest mailing list