01: /*
02: * All content copyright (c) 2003-2006 Terracotta, Inc., except as may otherwise be noted in a separate copyright notice. All rights reserved.
03: */
04: package org.terracotta.dso.editors.xmlbeans;
05:
06: import org.apache.xmlbeans.XmlObject;
07:
08: import java.util.EventObject;
09:
10: public class XmlObjectStructureChangeEvent extends EventObject {
11: public XmlObjectStructureChangeEvent() {
12: super (new Object());
13: }
14:
15: public XmlObjectStructureChangeEvent(XmlObject source) {
16: super (source);
17: }
18:
19: public void setXmlObject(XmlObject source) {
20: this .source = source;
21: }
22:
23: public XmlObject getXmlObject() {
24: return (XmlObject) getSource();
25: }
26: }
|