[jdom-interest] ClassCast:troubles: getContent(index).clone()
Robert Stukey
restukey at erols.com
Wed Mar 10 11:30:24 PST 2004
I am trying to get a clone of an Element at a certain index, but I
am throwing some Class Cast Exceptions? I've tried it enough ways to
consider myself beaten. Any insight on what I am doing wrong would be
appreciated, thanks.
Element x = (Element)root.getContent(index).clone();
java.lang.ClassCastException: org.jdom.Text
BlogArchive.findElement(BlogArchive.java:127)
BlogArchive.doGet(BlogArchive.java:70)
More information about the jdom-interest
mailing list