pylucene 3.5.0-3
[pylucene.git] / lucene-java-3.5.0 / lucene / contrib / queryparser / src / java / org / apache / lucene / queryParser / core / config / ConfigAttribute.java
diff --git a/lucene-java-3.5.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/config/ConfigAttribute.java b/lucene-java-3.5.0/lucene/contrib/queryparser/src/java/org/apache/lucene/queryParser/core/config/ConfigAttribute.java
new file mode 100644 (file)
index 0000000..d59934c
--- /dev/null
@@ -0,0 +1,18 @@
+package org.apache.lucene.queryParser.core.config;
+
+import org.apache.lucene.util.Attribute;
+
+/**
+ * This class should be used by every class that extends {@link Attribute} to
+ * configure a {@link QueryConfigHandler}. It will be removed soon, it is only
+ * used during the transition from old configuration API to new configuration
+ * API.
+ * 
+ * @deprecated
+ */
+@Deprecated
+public interface ConfigAttribute {
+
+  void setQueryConfigHandler(AbstractQueryConfig config);
+  
+}