You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by oh...@apache.org on 2008/03/28 10:42:20 UTC
svn commit: r642165 -
/commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandlerRegistry.java
Author: oheger
Date: Fri Mar 28 02:42:09 2008
New Revision: 642165
URL: http://svn.apache.org/viewvc?rev=642165&view=rev
Log:
Minor modification of the signature of one of the interface methods
Modified:
commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandlerRegistry.java
Modified: commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandlerRegistry.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandlerRegistry.java?rev=642165&r1=642164&r2=642165&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandlerRegistry.java (original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandlerRegistry.java Fri Mar 28 02:42:09 2008
@@ -68,10 +68,16 @@
* method is intended for internal processing.
*
* @param node the node in question
+ * @param subClasses a flag whether an implementation should try an exact
+ * match with the node class (<b>false</b>) or also take sub classes into
+ * account (<b>true</b>); (Per default a registry will first check whether
+ * a specific node handler is registered for the concrete node class. If
+ * this is not the case, it checks whether the node is derived from a class,
+ * for which a node handler is registered.)
* @return a <code>NodeHandler</code> that can deal with the passed in
* node (can be <b>null</b>)
*/
- NodeHandler<?> lookupHandler(Object node);
+ NodeHandler<?> lookupHandler(Object node, boolean subClasses);
/**
* Adds a sub registry to this object. When resolving a