Author: thilina
Date: Thu Feb  8 05:29:24 2007
New Revision: 504885

URL: http://svn.apache.org/viewvc?view=rev&rev=504885
Log:
Removing the getMessageType from the OMBuilder interface, since we are no 
longer using it
Removing set/getContentID from ConfigurableDataHandler



Modified:
    
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/ConfigurableDataHandler.java
    
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
    
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/OMBuilder.java
    
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXBuilder.java

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/ConfigurableDataHandler.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/ConfigurableDataHandler.java?view=diff&rev=504885&r1=504884&r2=504885
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/ConfigurableDataHandler.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/attachments/ConfigurableDataHandler.java
 Thu Feb  8 05:29:24 2007
@@ -8,7 +8,7 @@
 /**
  * This Axiom DataHandler inplementation allows the user to set custom values
  * for the following MIME body part headers. 
- *    <ul><li>content-id</li> 
+ *    <ul>
  *    <li>content-transfer-encoding</li> 
  *    <li>content-type</li>
  *    </ul> 
@@ -44,13 +44,13 @@
                super(arg0);
        }
 
-       public String getContentID() {
-               return contentID;
-       }
-
-       public void setContentID(String contentID) {
-               this.contentID = contentID;
-       }
+//     public String getContentID() {
+//             return contentID;
+//     }
+//
+//     public void setContentID(String contentID) {
+//             this.contentID = contentID;
+//     }
 
        public String getContentType() {
                if (contentType != null) {

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java?view=diff&rev=504885&r1=504884&r2=504885
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/MIMEOutputUtils.java
 Thu Feb  8 05:29:24 2007
@@ -21,7 +21,6 @@
 import java.io.StringWriter;
 import java.util.Iterator;
 import java.util.LinkedList;
-import java.util.Map;
 
 import javax.activation.DataHandler;
 import javax.mail.MessagingException;
@@ -29,7 +28,6 @@
 
 import org.apache.axiom.attachments.Attachments;
 import org.apache.axiom.attachments.ConfigurableDataHandler;
-import org.apache.axiom.om.OMConstants;
 import org.apache.axiom.om.OMException;
 import org.apache.axiom.om.OMOutputFormat;
 import org.apache.axiom.om.OMText;

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/OMBuilder.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/OMBuilder.java?view=diff&rev=504885&r1=504884&r2=504885
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/OMBuilder.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/OMBuilder.java
 Thu Feb  8 05:29:24 2007
@@ -7,13 +7,11 @@
 
 public interface OMBuilder {
        
-       public void init(InputStream inputStream) throws OMException;
+       public void init(InputStream inputStream, String charSetEncoding) 
throws OMException;
     /**
      * @return Returns the document element.
      */
        public OMElement getDocumentElement();
-    
-       public String getMessageType();
-    
+ 
        public String getCharsetEncoding();
 }

Modified: 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXBuilder.java
URL: 
http://svn.apache.org/viewvc/webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXBuilder.java?view=diff&rev=504885&r1=504884&r2=504885
==============================================================================
--- 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXBuilder.java
 (original)
+++ 
webservices/commons/trunk/modules/axiom/modules/axiom-api/src/main/java/org/apache/axiom/om/impl/builder/StAXBuilder.java
 Thu Feb  8 05:29:24 2007
@@ -103,7 +103,7 @@
     protected StAXBuilder()
     {
     }
-    public void init (InputStream inputStream) throws OMException
+    public void init (InputStream inputStream, String charSetEncoding) throws 
OMException
     {
         try {
                        this.parser = 
StAXUtils.createXMLStreamReader(inputStream);
@@ -486,11 +486,6 @@
         } catch (XMLStreamException e) {
             throw new RuntimeException(e);
         }
-    }
-    
-    public String getMessageType()
-    {
-       return null;
     }
 
     /**



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to