--- /dev/null
+package org.wamblee.xmlrouter.config;
+
+import javax.xml.transform.dom.DOMSource;
+
+public interface Filter {
+
+ /**
+ * Determines if a given document will be processed or not.
+ * @param aSource Source document.
+ * @return
+ */
+ boolean isAllowed(String aDocumentType, DOMSource aSource);
+}