[jdom-interest] JDOMFactory

Anil Vijendran Anil.Vijendran at Sun.COM
Sun Jun 10 22:37:03 PDT 2001

Jason et al.

One of the things I'd like to be able to do with the pluggable factory
thing is to make certain creations illegal. I would like the ability
to be able to decide based on some contextual or other mechanism if
something is legal or not.

A simple protocol where the factory methods could throw an exception,
which is propagated to the caller of the parser would be great. If
there is no exception then creation proceeds normally.


Peace, Anil +<:-)

More information about the jdom-interest mailing list