[jdom-interest] Feature request

Eric VERGNAUD eric.vergnaud at wanadoo.fr
Fri Jul 4 19:48:40 PDT 2003


le 5/07/03 4:17, Eric VERGNAUD à eric.vergnaud at wanadoo.fr a écrit :

> le 5/07/03 1:56, Eric VERGNAUD à eric.vergnaud at wanadoo.fr a écrit :
> 
>> 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
> 
> 
> Looks like Element.addContent(Element) was added in b9, while I was looking
> at the b8 source code.
> 
> Long live b9 !
> 
> Eric
> 

Just had a closer look, and in the end it's simply a bug in my code
editor/parser. For unknown reasons, it won't show this method, which indeed
exists in B8.

Sorry for the noise

Eric




More information about the jdom-interest mailing list