You are viewing a plain text version of this content. The canonical link for it is here.
Posted to woden-dev@ws.apache.org by jk...@apache.org on 2006/09/08 15:58:13 UTC
svn commit: r441497 -
/incubator/woden/branches/WODEN-44/src/org/apache/woden/ElementSource.java
Author: jkaputin
Date: Fri Sep 8 06:58:12 2006
New Revision: 441497
URL: http://svn.apache.org/viewvc?view=rev&rev=441497
Log:
Improved javadoc comments
Modified:
incubator/woden/branches/WODEN-44/src/org/apache/woden/ElementSource.java
Modified: incubator/woden/branches/WODEN-44/src/org/apache/woden/ElementSource.java
URL: http://svn.apache.org/viewvc/incubator/woden/branches/WODEN-44/src/org/apache/woden/ElementSource.java?view=diff&rev=441497&r1=441496&r2=441497
==============================================================================
--- incubator/woden/branches/WODEN-44/src/org/apache/woden/ElementSource.java (original)
+++ incubator/woden/branches/WODEN-44/src/org/apache/woden/ElementSource.java Fri Sep 8 06:58:12 2006
@@ -32,15 +32,23 @@
/**
* Accepts an Object representing an XML element. The implementation should
* check that it is of a type appropriate for the underlying XML parser or
- * XML Object model being used (e.g. a DOM Element or AXIOM OMElement).
+ * XML Object model being used. For example, a DOM implementation might expect
+ * an org.w3c.dom.Element while an AXIOM implementation might expect
+ * org.apache.axiom.om.OMElement.
+ *
+ * @param elem the Object representing the XML element
+ *
+ * @throws IllegalArgumentException if elem is not a type supported by the implementation.
*/
public void setSource(Object elem) throws WSDLException;
/**
* Returns an Object representing an XML element, which the caller must
- * cast to the expected type (e.g. a DOM Element or an AXION OMElement)
+ * cast to the expected type. For example, for DOM implementation we might
+ * cast it to an org.w3c.dom.Element whereas an AXIOM implementation might
+ * cast it to an org.apache.axiom.om.OMElement.
*
- * @return an Object representing the element
+ * @return an Object representing the XML element
*/
public Object getSource();
---------------------------------------------------------------------
To unsubscribe, e-mail: woden-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: woden-dev-help@ws.apache.org