[jdom-interest] Problems with getChildren() and java.util.List
Mathias Lux
mlux at know-center.at
Tue Sep 17 03:32:05 PDT 2002
Hi!
This should solve your problem:
-------------------------
import org.jdom.*;
import org.jdom.output.*;
import org.jdom.input.*;
import java.io.*;
import java.util.*;
...
Element root = doc.getRootElement();
java.util.List children = root.getChildren();
...
-------------------------
now your JDK knows exactly which List you want.
greetings,
Mathias
More information about the jdom-interest
mailing list