org.xngr
Class XDocumentEvent
java.lang.Object
|
+--java.util.EventObject
|
+--org.xngr.XDocumentEvent
- All Implemented Interfaces:
- Serializable
- public class XDocumentEvent
- extends EventObject
The event that is fired to a document listener when the document
has been saved, changed or deleted.
- Version:
- $Revision: 1.1.1.1 $, $Date: 2002/02/16 16:12:48 $
- Author:
- Edwin Dankert
- See Also:
- Serialized Form
Method Summary |
XDocument |
getDocument()
Returns the document that is responsible for firing this event. |
XElement |
getElement()
Returns the root element that identifies the changed elements
in the document. |
XDocumentEvent
public XDocumentEvent(XDocument document,
XElement element)
- The constructor for the event.
- Parameters:
document
- the document that fired the event.element
- the element that is the root element for
all updated elements.
getDocument
public XDocument getDocument()
- Returns the document that is responsible for firing this event.
- Returns:
- the document.
getElement
public XElement getElement()
- Returns the root element that identifies the changed elements
in the document.
- Returns:
- the root element for all the changed elements.
Copyright © 2002, Cladonia Ltd., All Rights Reserved