Blame SOURCES/ws-jaxme-jdk16.patch

c01779
--- ws-jaxme/src/jaxme/org/apache/ws/jaxme/impl/JMMarshallerImpl.java.orig	2008-07-08 11:31:43.000000000 -0400
c01779
+++ ws-jaxme/src/jaxme/org/apache/ws/jaxme/impl/JMMarshallerImpl.java	2008-07-09 05:54:23.000000000 -0400
c01779
@@ -21,16 +21,22 @@
c01779
 import java.io.OutputStreamWriter;
c01779
 import java.io.UnsupportedEncodingException;
c01779
 import java.io.Writer;
c01779
+import java.io.File;
c01779
 
c01779
 import javax.xml.bind.JAXBException;
c01779
 import javax.xml.bind.MarshalException;
c01779
 import javax.xml.bind.Marshaller;
c01779
 import javax.xml.bind.PropertyException;
c01779
+import javax.xml.bind.attachment.AttachmentMarshaller;
c01779
+import javax.xml.bind.annotation.adapters.XmlAdapter;
c01779
 import javax.xml.namespace.QName;
c01779
 import javax.xml.transform.Result;
c01779
 import javax.xml.transform.dom.DOMResult;
c01779
 import javax.xml.transform.sax.SAXResult;
c01779
 import javax.xml.transform.stream.StreamResult;
c01779
+import javax.xml.stream.XMLStreamWriter;
c01779
+import javax.xml.stream.XMLEventWriter;
c01779
+import javax.xml.validation.Schema;
c01779
 
c01779
 import org.apache.ws.jaxme.*;
c01779
 import org.apache.ws.jaxme.JMElement;
c01779
@@ -430,4 +436,55 @@
c01779
   public Node getNode(java.lang.Object contentTree) throws JAXBException {
c01779
     throw new UnsupportedOperationException("JaxMe doesn't support live DOM views");
c01779
   }
c01779
+
c01779
+
c01779
+// added to support JDK6
c01779
+
c01779
+    public void marshal(Object jaxbElement, File output) throws JAXBException {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void marshal(Object jaxbElement, XMLStreamWriter writer) throws JAXBException {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void marshal(Object jaxbElement, XMLEventWriter writer) throws JAXBException {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void setAdapter(XmlAdapter adapter) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void setAdapter(Class type, XmlAdapter adapter) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public XmlAdapter getAdapter(Class type) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void setAttachmentMarshaller(AttachmentMarshaller am) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public AttachmentMarshaller getAttachmentMarshaller() {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void setSchema(Schema schema) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public Schema getSchema() {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void setListener(Listener listener) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public Listener getListener() {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
 }
c01779
--- ws-jaxme/src/jaxme/org/apache/ws/jaxme/impl/JMUnmarshallerImpl.java.orig	2008-07-08 11:34:58.000000000 -0400
c01779
+++ ws-jaxme/src/jaxme/org/apache/ws/jaxme/impl/JMUnmarshallerImpl.java	2008-07-09 05:52:39.000000000 -0400
c01779
@@ -26,6 +26,10 @@
c01779
 import javax.xml.bind.JAXBException;
c01779
 import javax.xml.bind.UnmarshalException;
c01779
 import javax.xml.bind.UnmarshallerHandler;
c01779
+import javax.xml.bind.JAXBElement;
c01779
+import javax.xml.bind.Unmarshaller;
c01779
+import javax.xml.bind.attachment.AttachmentUnmarshaller;
c01779
+import javax.xml.bind.annotation.adapters.XmlAdapter;
c01779
 import javax.xml.parsers.ParserConfigurationException;
c01779
 import javax.xml.parsers.SAXParser;
c01779
 import javax.xml.parsers.SAXParserFactory;
c01779
@@ -33,6 +37,9 @@
c01779
 import javax.xml.transform.dom.DOMSource;
c01779
 import javax.xml.transform.sax.SAXSource;
c01779
 import javax.xml.transform.stream.StreamSource;
c01779
+import javax.xml.stream.XMLStreamReader;
c01779
+import javax.xml.stream.XMLEventReader;
c01779
+import javax.xml.validation.Schema;
c01779
 
c01779
 import org.apache.ws.jaxme.JMUnmarshaller;
c01779
 import org.apache.ws.jaxme.util.DOMSerializer;
c01779
@@ -177,4 +184,71 @@
c01779
     public UnmarshallerHandler getUnmarshallerHandler() {
c01779
         return new JMUnmarshallerHandlerImpl(this);
c01779
     }
c01779
+
c01779
+
c01779
+// added to support JDK6
c01779
+
c01779
+    public Object unmarshal(Reader reader) throws JAXBException {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public JAXBElement unmarshal(Node node, Class declaredType) throws JAXBException {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public  JAXBElement unmarshal(Source source, Class declaredType) throws JAXBException {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public Object unmarshal(XMLStreamReader reader) throws JAXBException {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public  JAXBElement unmarshal(XMLStreamReader reader, Class declaredType) throws JAXBException {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public Object unmarshal(XMLEventReader reader) throws JAXBException {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public  JAXBElement unmarshal(XMLEventReader reader, Class declaredType) throws JAXBException {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void setSchema(Schema schema) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public Schema getSchema() {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void setAdapter(XmlAdapter adapter) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void setAdapter(Class type, XmlAdapter adapter) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public XmlAdapter getAdapter(Class type) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void setAttachmentUnmarshaller(AttachmentUnmarshaller au) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public AttachmentUnmarshaller getAttachmentUnmarshaller() {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public void setListener(Listener listener) {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
+
c01779
+    public Listener getListener() {
c01779
+        throw new UnsupportedOperationException();
c01779
+    }
c01779
 }