[jdom-interest] Re: Interfaces?

Jason Hunter jhunter at acm.org
Fri Sep 22 05:03:34 PDT 2000


>     class Element implements Visitable {
>         // ...
>         public void accept(Visitor visitor) {
>             visitor.visitElement(this);
>         }
>     }
> ...
> 
> Would it be beneficial to add Visitor/Visitable to JDOM?

Well, as is our mantra, things are only added to the API when there's a
compelling use case and when the method of satisfying the use case is
unacceptible using the current API.  So to repeat your question in
different words, what's the compelling use case?

-jh-



More information about the jdom-interest mailing list