1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17 package org.springframework.oxm.config;
18
19 import org.springframework.beans.factory.xml.NamespaceHandler;
20 import org.springframework.beans.factory.xml.NamespaceHandlerSupport;
21
22
23
24
25
26
27
28 public class OxmNamespaceHandler extends NamespaceHandlerSupport {
29
30 public void init() {
31 registerBeanDefinitionParser("jaxb1-marshaller", new Jaxb1MarshallerBeanDefinitionParser());
32 registerBeanDefinitionParser("jaxb2-marshaller", new Jaxb2MarshallerBeanDefinitionParser());
33 registerBeanDefinitionParser("jibx-marshaller", new JibxMarshallerBeanDefinitionParser());
34 registerBeanDefinitionParser("xmlbeans-marshaller", new XmlBeansMarshallerBeanDefinitionParser());
35 }
36 }