You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commons-dev@ws.apache.org by ve...@apache.org on 2009/12/23 13:00:23 UTC
svn commit: r893483 -
/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMFactory.java
Author: veithen
Date: Wed Dec 23 12:00:22 2009
New Revision: 893483
URL: http://svn.apache.org/viewvc?rev=893483&view=rev
Log:
Completed Javadoc of OMFactory#createOMNamespace.
Modified:
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMFactory.java
Modified: webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMFactory.java
URL: http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMFactory.java?rev=893483&r1=893482&r2=893483&view=diff
==============================================================================
--- webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMFactory.java (original)
+++ webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/OMFactory.java Wed Dec 23 12:00:22 2009
@@ -113,9 +113,16 @@
OMElement createOMElement(QName qname) throws OMException;
/**
+ * Create an {@link OMNamespace} instance or retrieve an existing one if the factory supports
+ * pooling.
+ *
* @param uri
+ * the namespace URI; must not be <code>null</code>
* @param prefix
- * @return Returns OMNameSpace.
+ * the prefix
+ * @return the {@link OMNamespace} instance
+ * @throws IllegalArgumentException
+ * if <code>uri</code> is null
*/
OMNamespace createOMNamespace(String uri, String prefix);