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 2016/03/05 14:26:50 UTC
svn commit: r1733717 -
/webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/ds/custombuilder/CustomBuilder.java
Author: veithen
Date: Sat Mar 5 13:26:50 2016
New Revision: 1733717
URL: http://svn.apache.org/viewvc?rev=1733717&view=rev
Log:
Remove documentation that is no longer applicable.
Modified:
webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/ds/custombuilder/CustomBuilder.java
Modified: webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/ds/custombuilder/CustomBuilder.java
URL: http://svn.apache.org/viewvc/webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/ds/custombuilder/CustomBuilder.java?rev=1733717&r1=1733716&r2=1733717&view=diff
==============================================================================
--- webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/ds/custombuilder/CustomBuilder.java (original)
+++ webservices/axiom/trunk/axiom-api/src/main/java/org/apache/axiom/om/ds/custombuilder/CustomBuilder.java Sat Mar 5 13:26:50 2016
@@ -97,16 +97,7 @@ public interface CustomBuilder {
* library that supports XOP, it may want to use that encoding
* to optimize the transfer of binary data. To do so, the
* custom builder MUST use {@link org.apache.axiom.util.stax.xop.XOPUtils#getXOPEncodedStream(XMLStreamReader)}
- * to get an XOP encoded stream. This guarantees that the original
- * reader is wrapped or unwrapped properly and also that
- * the custom builder correctly gets access to the attachments,
- * regardless of the type of the original reader. In particular,
- * the custom builder MUST NOT attempt to retrieve attachments
- * through the {@link org.apache.axiom.om.OMAttachmentAccessor}
- * that may be implemented by the builder (because this wouldn't
- * work if the builder was created from an {@link XMLStreamReader}
- * implementing the {@link org.apache.axiom.ext.stax.datahandler.DataHandlerReader}
- * extension).
+ * to get an XOP encoded stream.
* @return OMDataSource
*/
public OMDataSource create(XMLStreamReader reader) throws OMException;