Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/org.eclipse.emf.compare.ide/src/org/eclipse/emf/compare/ide/internal/utils/INamespaceDeclarationListener.java')
-rw-r--r--plugins/org.eclipse.emf.compare.ide/src/org/eclipse/emf/compare/ide/internal/utils/INamespaceDeclarationListener.java30
1 files changed, 30 insertions, 0 deletions
diff --git a/plugins/org.eclipse.emf.compare.ide/src/org/eclipse/emf/compare/ide/internal/utils/INamespaceDeclarationListener.java b/plugins/org.eclipse.emf.compare.ide/src/org/eclipse/emf/compare/ide/internal/utils/INamespaceDeclarationListener.java
new file mode 100644
index 000000000..7319cc331
--- /dev/null
+++ b/plugins/org.eclipse.emf.compare.ide/src/org/eclipse/emf/compare/ide/internal/utils/INamespaceDeclarationListener.java
@@ -0,0 +1,30 @@
+/*******************************************************************************
+ * Copyright (c) 2015 Obeo.
+ * 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:
+ * Obeo - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.emf.compare.ide.internal.utils;
+
+import org.eclipse.emf.common.util.URI;
+
+/**
+ * The listener interface for receiving namespace declaration events from the XML parsers.
+ *
+ * @author <a href="mailto:laurent.goubet@obeo.fr">Laurent Goubet</a>
+ */
+public interface INamespaceDeclarationListener {
+ /**
+ * Notified when a schema location is declared from the XMLHandler.
+ *
+ * @param key
+ * Key for this schema location mapping.
+ * @param uri
+ * URI for this schema.
+ */
+ void schemaLocationDeclared(String key, URI uri);
+}

Back to the top