commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r632433 - /commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandler.java
Date Fri, 29 Feb 2008 20:51:34 GMT
Author: oheger
Date: Fri Feb 29 12:51:29 2008
New Revision: 632433

URL: http://svn.apache.org/viewvc?rev=632433&view=rev
Log:
Some fine-tuning of the NodeHandler interface

Modified:
    commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandler.java

Modified: commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandler.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandler.java?rev=632433&r1=632432&r2=632433&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandler.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/NodeHandler.java
Fri Feb 29 12:51:29 2008
@@ -106,6 +106,14 @@
     T getChild(T node, int index);
 
     /**
+     * Removes the specified child from the given node.
+     *
+     * @param node the node
+     * @param child the child to be removed
+     */
+    void removeChild(T node, T child);
+
+    /**
      * Returns a list with the names of all attributes of the specified node.
      *
      * @param node the node
@@ -130,4 +138,12 @@
      * @param value the value of the attribute
      */
     void setAttributeValue(T node, String name, Object value);
+
+    /**
+     * Removes the attribute with the specified name from the given node.
+     *
+     * @param node the node
+     * @param name the name of the attribute to be removed
+     */
+    void removeAttribute(T node, String name);
 }



Mime
View raw message