[jdom-interest] query on JDOM 1.0 content replacement methods

Per Norrman per.norrman at austers.se
Wed Sep 29 15:49:15 PDT 2004


Scott Yeadon wrote:
> Per,
> 
> Thanks. That worked fine, only additional thing was to cast p to Element 
> for using the setContent method.
>



Hmm, yes. The Parent interface is a strange fish. You can get and remove
content, but you cannot add. Just watch out for Parent being the Document ...

/pmn

> Scott.
> 


More information about the jdom-interest mailing list