[jdom-interest] BUG in Document

Frank Morton fmorton at base2inc.com
Mon Feb 12 07:24:30 PST 2001


> Frank Morton wrote:
> > 
> > public class Key extends Document {
> >      public Key() {
> >           super();
> >           setRootElement(new Element("key"));
> >      }
> > }
> > 
> > I wish I could do in the constructor:
> > 
> >      super(new Element("key"));
> > 
> > But, you can't do that. 
> 
> Why not?
> 
> -jh-

You can. I was just flaking out. But the bug I originally reported
is still there.

Thanks all for the direction.

Frank




More information about the jdom-interest mailing list