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 public class DummyMarshaller implements Marshaller, Unmarshaller {
28
29 public void marshal(Object graph, Result result) throws XmlMappingException, IOException {
30 throw new UnsupportedOperationException();
31 }
32
33 public boolean supports(Class clazz) {
34 throw new UnsupportedOperationException();
35 }
36
37 public Object unmarshal(Source source) throws XmlMappingException, IOException {
38 throw new UnsupportedOperationException();
39 }
40 }