commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ohe...@apache.org
Subject svn commit: r656415 - /commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/xpath/XPathExpressionEngine.java
Date Wed, 14 May 2008 20:28:41 GMT
Author: oheger
Date: Wed May 14 13:28:41 2008
New Revision: 656415

URL: http://svn.apache.org/viewvc?rev=656415&view=rev
Log:
Javadoc improvements

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

Modified: commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/xpath/XPathExpressionEngine.java
URL: http://svn.apache.org/viewvc/commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/xpath/XPathExpressionEngine.java?rev=656415&r1=656414&r2=656415&view=diff
==============================================================================
--- commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/xpath/XPathExpressionEngine.java
(original)
+++ commons/proper/configuration/branches/configuration2_experimental/src/main/java/org/apache/commons/configuration2/expr/xpath/XPathExpressionEngine.java
Wed May 14 13:28:41 2008
@@ -97,6 +97,21 @@
  * <code>name</code> will be added.
  * </p>
  *
+ * <p>
+ * <pre>
+ * &quot;/tables table/fields/field@type&quot;
+ * </pre>
+ * </p>
+ * <p>
+ * This is similar to the last example, but in this case a complex path ending
+ * with an attribute is defined.
+ * </p>
+ * <p>
+ * <strong>Note:</strong> This extended syntax for adding properties only works
+ * with the <code>addProperty()</code> method. <code>setProperty()</code>
does
+ * not support creating new nodes this way.
+ * </p>
+ *
  * @since 2.0
  * @author Oliver Heger
  * @version $Id$



Mime
View raw message