Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.vex.core/src/org/eclipse/wst/xml/vex/core/internal/dom/DocumentListener.java')
-rw-r--r--org.eclipse.vex.core/src/org/eclipse/wst/xml/vex/core/internal/dom/DocumentListener.java58
1 files changed, 58 insertions, 0 deletions
diff --git a/org.eclipse.vex.core/src/org/eclipse/wst/xml/vex/core/internal/dom/DocumentListener.java b/org.eclipse.vex.core/src/org/eclipse/wst/xml/vex/core/internal/dom/DocumentListener.java
new file mode 100644
index 00000000..8776b367
--- /dev/null
+++ b/org.eclipse.vex.core/src/org/eclipse/wst/xml/vex/core/internal/dom/DocumentListener.java
@@ -0,0 +1,58 @@
+/*******************************************************************************
+ * Copyright (c) 2004, 2008 John Krasnay and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Eclipse Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/epl-v10.html
+ *
+ * Contributors:
+ * John Krasnay - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.wst.xml.vex.core.internal.dom;
+
+/**
+ * Receives notifications of document changes.
+ */
+public interface DocumentListener extends java.util.EventListener {
+
+ /**
+ * Called when an attribute is changed in one of the document's elements.
+ *
+ * @param e
+ * the document event.
+ */
+ public void attributeChanged(DocumentEvent e);
+
+ /**
+ * Called before content is deleted from a document.
+ *
+ * @param e
+ * the document event
+ */
+ public void beforeContentDeleted(DocumentEvent e);
+
+ /**
+ * Called before content is inserted into a document.
+ *
+ * @param e
+ * the document event
+ */
+ public void beforeContentInserted(DocumentEvent e);
+
+ /**
+ * Called when content is deleted from a document.
+ *
+ * @param e
+ * the document event
+ */
+ public void contentDeleted(DocumentEvent e);
+
+ /**
+ * Called when content is inserted into a document.
+ *
+ * @param e
+ * the document event
+ */
+ public void contentInserted(DocumentEvent e);
+
+}

Back to the top