ws-jaxme/ws-jaxme-java6.patch

159 lines
6.5 KiB
Diff
Raw Normal View History

--- ant/jm.xml
+++ ant/jm.xml
@@ -127,7 +127,6 @@
<target name="JM.compile" depends="dirs,JM.precompile">
<javac classpathref="jaxme.class.path" debug="${debug}"
optimize="${optimize}" destdir="${build.jm.classes}"
- source="1.3" target="1.3"
failonerror="true">
<src>
<pathelement location="${src.jm}"/>
@@ -184,7 +183,6 @@
<target name="JM.localtest" depends="JM.generate">
<javac debug="${debug}"
optimize="${optimize}" destdir="${build.jm.classes}"
- source="1.3" target="1.3"
failonerror="true">
<src>
<pathelement location="${src.jm}"/>
--- src/jaxme/org/apache/ws/jaxme/impl/JMMarshallerImpl.java
+++ src/jaxme/org/apache/ws/jaxme/impl/JMMarshallerImpl.java
@@ -428,6 +428,55 @@
}
public Node getNode(java.lang.Object contentTree) throws JAXBException {
- throw new UnsupportedOperationException("JaxMe doesn't support live DOM views");
+ throw new UnsupportedOperationException("JaxMe doesn't support live DOM views");
}
+
+ public javax.xml.bind.Marshaller.Listener getListener() {
+ throw new RuntimeException("Not implemented method getListener()");
+ }
+
+ public void setListener(javax.xml.bind.Marshaller.Listener listener) {
+ throw new RuntimeException("Not implemented method setListener()");
+ }
+
+ public javax.xml.validation.Schema getSchema() {
+ throw new RuntimeException("Not implemented method getSchema()");
+ }
+
+ public void setSchema(javax.xml.validation.Schema schema) {
+ throw new RuntimeException("Not implemented method setSchema()");
+ }
+
+ public javax.xml.bind.attachment.AttachmentMarshaller getAttachmentMarshaller() {
+ throw new RuntimeException("Not implemented method getAttachmentMarshaller()");
+ }
+
+ public void setAttachmentMarshaller(javax.xml.bind.attachment.AttachmentMarshaller am) {
+ throw new RuntimeException("Not implemented method getAttachmentMarshaller()");
+ }
+
+ public <A extends javax.xml.bind.annotation.adapters.XmlAdapter> A getAdapter(Class<A> type) {
+ throw new RuntimeException("Not implemented method getAdapter()");
+ }
+
+ public <A extends javax.xml.bind.annotation.adapters.XmlAdapter> void setAdapter(Class<A> type, A adapter) {
+ throw new RuntimeException("Not implemented method setAdapter()");
+ }
+
+ public void setAdapter(javax.xml.bind.annotation.adapters.XmlAdapter adapter) {
+ throw new RuntimeException("Not implemented method setAdapter()");
+ }
+
+ public void marshal(Object jaxbElement, javax.xml.stream.XMLEventWriter writer) throws JAXBException {
+ throw new RuntimeException("Not implemented method marshal()");
+ }
+
+ public void marshal(Object jaxbElement, javax.xml.stream.XMLStreamWriter writer) throws JAXBException {
+ throw new RuntimeException("Not implemented method marshal()");
+ }
+
+ public void marshal(Object jaxbElement, java.io.File file) throws JAXBException {
+ throw new RuntimeException("Not implemented method marshal()");
+ }
+
}
--- src/jaxme/org/apache/ws/jaxme/impl/JMUnmarshallerImpl.java
+++ src/jaxme/org/apache/ws/jaxme/impl/JMUnmarshallerImpl.java
@@ -170,11 +170,76 @@
return unmarshal(node);
} else {
throw new IllegalArgumentException("Unknown type of Source: " + pSource.getClass().getName() +
- ", only SAXSource, StreamSource and DOMSource are supported.");
+ ", only SAXSource, StreamSource and DOMSource are supported.");
}
}
-
+
public UnmarshallerHandler getUnmarshallerHandler() {
return new JMUnmarshallerHandlerImpl(this);
}
+
+ public javax.xml.bind.Unmarshaller.Listener getListener() {
+ throw new RuntimeException("Not implemented method getListener()");
+ }
+
+ public void setListener(javax.xml.bind.Unmarshaller.Listener listener) {
+ throw new RuntimeException("Not implemented method setListener()");
+ }
+
+ public <A extends javax.xml.bind.annotation.adapters.XmlAdapter> A getAdapter(Class<A> type) {
+ throw new RuntimeException("Not implemented method getAdapter()");
+ }
+
+ public <A extends javax.xml.bind.annotation.adapters.XmlAdapter> void setAdapter(Class<A> type, A adapter) {
+ throw new RuntimeException("Not implemented method setAdapter()");
+ }
+
+ public void setAdapter(javax.xml.bind.annotation.adapters.XmlAdapter adapter) {
+ throw new RuntimeException("Not implemented method setAdapter()");
+ }
+
+ public javax.xml.validation.Schema getSchema() {
+ throw new RuntimeException("Not implemented method getSchema()");
+ }
+
+ public void setSchema(javax.xml.validation.Schema schema) {
+ throw new RuntimeException("Not implemented method setSchema()");
+ }
+
+ public <T> javax.xml.bind.JAXBElement<T> unmarshal(javax.xml.stream.XMLEventReader reader, Class<T> declaredType) throws JAXBException {
+ throw new RuntimeException("Not implemented method unmarshal()");
+ }
+
+ public Object unmarshal(javax.xml.stream.XMLEventReader reader) throws JAXBException {
+ throw new RuntimeException("Not implemented method unmarshal()");
+ }
+
+ public <T> javax.xml.bind.JAXBElement<T> unmarshal(javax.xml.stream.XMLStreamReader reader, Class<T> declaredType) throws JAXBException {
+ throw new RuntimeException("Not implemented method unmarshal()");
+ }
+
+ public Object unmarshal(javax.xml.stream.XMLStreamReader reader) throws JAXBException {
+ throw new RuntimeException("Not implemented method unmarshal()");
+ }
+
+ public <T> javax.xml.bind.JAXBElement<T> unmarshal(org.w3c.dom.Node node, Class<T> declaredType) throws JAXBException {
+ throw new RuntimeException("Not implemented method unmarshal()");
+ }
+
+ public Object unmarshal(java.io.Reader reader) throws JAXBException {
+ throw new RuntimeException("Not implemented method unmarshal()");
+ }
+
+ public <T> javax.xml.bind.JAXBElement<T> unmarshal(javax.xml.transform.Source source, Class<T> declaredType) {
+ throw new RuntimeException("Not implemented method unmarshal()");
+ }
+
+ public javax.xml.bind.attachment.AttachmentUnmarshaller getAttachmentUnmarshaller() {
+ throw new RuntimeException("Not implemented method getAttachmentUnmarshaller()");
+ }
+
+ public void setAttachmentUnmarshaller(javax.xml.bind.attachment.AttachmentUnmarshaller foo) {
+ throw new RuntimeException("Not implemented method setAttachmentUnmarshaller()");
+ }
+
}