You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ws.apache.org by ve...@apache.org on 2014/05/07 20:43:00 UTC

svn commit: r1593113 - /webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java

Author: veithen
Date: Wed May  7 18:42:59 2014
New Revision: 1593113

URL: http://svn.apache.org/r1593113
Log:
Fixed/improved Javadoc.

Modified:
    webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java

Modified: webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java?rev=1593113&r1=1593112&r2=1593113&view=diff
==============================================================================
--- webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java (original)
+++ webservices/axiom/trunk/modules/axiom-api/src/main/java/org/apache/axiom/om/OMElement.java Wed May  7 18:42:59 2014
@@ -501,6 +501,10 @@ public interface OMElement extends OMNod
      * the element information item, this method ensures that a corresponding namespace declaration
      * exists. If no corresponding namespace declaration is already in scope, then a new one will be
      * added to this element.
+     * <p>
+     * This method has the same effect as
+     * {@link OMNamedInformationItem#setNamespace(OMNamespace, boolean)} with <code>declare</code>
+     * set to <code>true</code>.
      * 
      * @param namespace
      *            The new namespace for this element, or <code>null</code> to remove the namespace
@@ -514,7 +518,7 @@ public interface OMElement extends OMNod
 
     /**
      * @deprecated Use {@link OMNamedInformationItem#setNamespace(OMNamespace, boolean)} with
-     *             <code>declare</code> set to <code>true</code>.
+     *             <code>declare</code> set to <code>false</code>.
      */
     void setNamespaceWithNoFindInCurrentScope(OMNamespace namespace);