[jdom-interest] Document Listeners?

Jon Baer jonbaer at digitalanywhere.com
Fri Mar 23 23:15:32 PST 2001


Is there any reasonable way to add a listener to a JDOM Document to
listen for XML doc changes and automatically rebuild itself?  Has anyone
done this?

Document doc = builder.build(file);

public void documentChanged(DocumentEvent e) {
try {
    } catch (Exception e) {}

Im interested in using a "live" XML file where configuration changes are
automatically ready and immediatley available.

- Jon

More information about the jdom-interest mailing list