[jdom-interest] hello all

Eddy, Joel joel.eddy at netivation.com
Wed Jul 12 10:43:17 PDT 2000

I have just attempted to use beta 4 of jdom.. and cannot get this simple
code to work....

import org.w3c.dom.Document;
import org.w3c.dom.Element;

public class JDOMBean {
    public static void main (String[] argv) {

        Document doc = new Document(new Element("root"));

i get the following errors.....when i try to compile...
Cannot user operator new for this type....
Cannot parse intializer..... and
no method found Element(string) or no method found Element() if i dont put
the string in.... i know that element is an abstract class... so ?   :)
hello again 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://jdom.org/pipermail/jdom-interest/attachments/20000712/511bc71d/attachment.htm

More information about the jdom-interest mailing list