1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.springframework.ws.config;
18
19 import java.io.IOException;
20 import javax.xml.transform.Result;
21 import javax.xml.transform.Source;
22
23 import org.springframework.oxm.Marshaller;
24 import org.springframework.oxm.Unmarshaller;
25 import org.springframework.oxm.XmlMappingException;
26
27
28
29
30
31 public class DummyMarshaller implements Marshaller, Unmarshaller {
32
33 public void marshal(Object graph, Result result) throws XmlMappingException, IOException {
34 throw new UnsupportedOperationException();
35 }
36
37 public boolean supports(Class clazz) {
38 throw new UnsupportedOperationException();
39 }
40
41 public Object unmarshal(Source source) throws XmlMappingException, IOException {
42 throw new UnsupportedOperationException();
43 }
44 }