T
Tinker
Hi,
I have a question re. JDOM 1.0 (http://www.jdom.org) ... specifically
relating to the getParent method used from the Element object.
JDOM 1.0 release dated 9th September 2004 (http://www.jdom.org/dist/binary/)
The JavaDoc for JDOM 1.0 (http://www.jdom.org/docs/apidocs/index.html)
indicates that the org.jdom.Element class is a subclass of org.jdom.Content
and that the getParent method is inherited from org.jdom.Content.
I checked the getParent method, which is indeed a method of
org.jdom.Content.
Any idea why calling...
Element testParent = (Element)testElement.getParent();
.... (where testElement is an Element object) might throw a
java.lang.NoSuchMethodError exception(?)...
Exception in thread "main" java.lang.NoSuchMethodError: org.jdom.Element:
method getParent()Lorg/jdom/Element; not found
Cheers,
Paul
Aside: please advise if there is a more appropriate group to post - thanks
I have a question re. JDOM 1.0 (http://www.jdom.org) ... specifically
relating to the getParent method used from the Element object.
JDOM 1.0 release dated 9th September 2004 (http://www.jdom.org/dist/binary/)
The JavaDoc for JDOM 1.0 (http://www.jdom.org/docs/apidocs/index.html)
indicates that the org.jdom.Element class is a subclass of org.jdom.Content
and that the getParent method is inherited from org.jdom.Content.
I checked the getParent method, which is indeed a method of
org.jdom.Content.
Any idea why calling...
Element testParent = (Element)testElement.getParent();
.... (where testElement is an Element object) might throw a
java.lang.NoSuchMethodError exception(?)...
Exception in thread "main" java.lang.NoSuchMethodError: org.jdom.Element:
method getParent()Lorg/jdom/Element; not found
Cheers,
Paul
Aside: please advise if there is a more appropriate group to post - thanks