You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2016/05/25 13:01:16 UTC

svn commit: r1745480 - /axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/datasource/jaxb/XMLStreamWriterFilterBase.java

Author: veithen
Date: Wed May 25 13:01:16 2016
New Revision: 1745480

URL: http://svn.apache.org/viewvc?rev=1745480&view=rev
Log:
Adapt to recent changes in the Axiom API.

Modified:
    axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/datasource/jaxb/XMLStreamWriterFilterBase.java

Modified: axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/datasource/jaxb/XMLStreamWriterFilterBase.java
URL: http://svn.apache.org/viewvc/axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/datasource/jaxb/XMLStreamWriterFilterBase.java?rev=1745480&r1=1745479&r2=1745480&view=diff
==============================================================================
--- axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/datasource/jaxb/XMLStreamWriterFilterBase.java (original)
+++ axis/axis2/java/core/trunk/modules/jaxws/src/org/apache/axis2/datasource/jaxb/XMLStreamWriterFilterBase.java Wed May 25 13:01:16 2016
@@ -26,7 +26,6 @@ import javax.xml.stream.XMLStreamExcepti
 
 import org.apache.axiom.om.OMOutputFormat;
 import org.apache.axiom.om.impl.MTOMXMLStreamWriter;
-import org.apache.axiom.om.util.XMLStreamWriterFilter;
 
 /**
  * The base class for classes that are MTOMXMLStreamWriter filters.
@@ -242,26 +241,11 @@ public abstract class XMLStreamWriterFil
     }
 
     @Override
-    public void setOutputFormat(OMOutputFormat format) {
-        delegate.setOutputFormat(format);
-    }
-
-    @Override
     public OutputStream getOutputStream() throws XMLStreamException {
         // Since the filter may modify the data, we can't allow access to the raw output stream
         return null;
     }
 
-    @Override
-    public void setFilter(XMLStreamWriterFilter filter) {
-        delegate.setFilter(filter);
-    }
-
-    @Override
-    public XMLStreamWriterFilter removeFilter() {
-        return delegate.removeFilter();
-    }
-
     /**
      * Derived classes extend the method.  A derived class may log or modify the xml data
      * @param value