[jdom-interest] RE: Need help

Syloke Soong ssoong at protedyne.com
Mon Mar 19 12:17:08 PST 2007

Addendum - extra line in Example 3.
Should have been (remove extra while statement):

[code example='3']
public List cloneChildrenOnly(Element element)
  List clonedList = element.cloneContent();
  Iterator iter = clonedList.iterator();

  while (iter.hasNext())
    Object what = iter.next();
    if (!(what instanceof Element))

  return clonedList;

This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender immediately. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company. Even though this company takes every precaution to ensure this email is virus-free, the recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.
Protedyne Corporation, 1000 Day Hill Rd, Windsor, CT 06095, USA,                                                                  

More information about the jdom-interest mailing list