File tree 4 files changed +7
-34
lines changed
java/org/springframework/oxm
resources/org/springframework/oxm/config
4 files changed +7
-34
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * Copyright 2002-2012 the original author or authors.
2
+ * Copyright 2002-2015 the original author or authors.
3
3
*
4
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
5
* you may not use this file except in compliance with the License.
28
28
public class OxmNamespaceHandler extends NamespaceHandlerSupport {
29
29
30
30
@ Override
31
+ @ SuppressWarnings ("deprecation" )
31
32
public void init () {
32
33
registerBeanDefinitionParser ("jaxb2-marshaller" , new Jaxb2MarshallerBeanDefinitionParser ());
33
34
registerBeanDefinitionParser ("jibx-marshaller" , new JibxMarshallerBeanDefinitionParser ());
34
- registerBeanDefinitionParser ("xmlbeans-marshaller" , new XmlBeansMarshallerBeanDefinitionParser ());
35
35
registerBeanDefinitionParser ("castor-marshaller" , new CastorMarshallerBeanDefinitionParser ());
36
+ registerBeanDefinitionParser ("xmlbeans-marshaller" , new XmlBeansMarshallerBeanDefinitionParser ());
36
37
}
37
38
38
39
}
Original file line number Diff line number Diff line change 28
28
*
29
29
* @author Arjen Poutsma
30
30
* @since 3.0
31
+ * @deprecated as of Spring 4.2, following the XMLBeans retirement at Apache
31
32
*/
33
+ @ Deprecated
32
34
class XmlBeansMarshallerBeanDefinitionParser extends AbstractSingleBeanDefinitionParser {
33
35
34
36
@ Override
Original file line number Diff line number Diff line change 75
75
* @see #setValidating
76
76
* @see #setXmlOptions
77
77
* @see XmlOptionsFactoryBean
78
+ * @deprecated as of Spring 4.2, following the XMLBeans retirement at Apache
78
79
*/
80
+ @ Deprecated
79
81
public class XmlBeansMarshaller extends AbstractMarshaller {
80
82
81
83
private XmlOptions xmlOptions ;
Original file line number Diff line number Diff line change 120
120
</xsd : complexType >
121
121
</xsd : element >
122
122
123
- <xsd : element name =" xmlbeans-marshaller" >
124
- <xsd : complexType >
125
- <xsd : annotation >
126
- <xsd : documentation source =" java:org.springframework.oxm.xmlbeans.XmlBeansMarshaller" >
127
- Defines a XMLBeans Marshaller.
128
- </xsd : documentation >
129
- <xsd : appinfo >
130
- <tool : annotation >
131
- <tool : exports type =" org.springframework.oxm.xmlbeans.XmlBeansMarshaller" />
132
- </tool : annotation >
133
- </xsd : appinfo >
134
- </xsd : annotation >
135
- <xsd : complexContent >
136
- <xsd : extension base =" beans:identifiedType" >
137
- <xsd : attribute name =" options" type =" xsd:string" >
138
- <xsd : annotation >
139
- <xsd : documentation source =" java:org.apache.xmlbeans.XmlOptions" >
140
- The bean name of the XmlOptions that is to be used for this marshaller. Typically a
141
- XmlOptionsFactoryBean definition.
142
- </xsd : documentation >
143
- <xsd : appinfo >
144
- <tool : annotation kind =" ref" >
145
- <tool : expected-type type =" org.apache.xmlbeans.XmlOptions" />
146
- </tool : annotation >
147
- </xsd : appinfo >
148
- </xsd : annotation >
149
- </xsd : attribute >
150
- </xsd : extension >
151
- </xsd : complexContent >
152
- </xsd : complexType >
153
- </xsd : element >
154
-
155
123
<xsd : simpleType name =" classType" >
156
124
<xsd : annotation >
157
125
<xsd : documentation source =" java:java.lang.Class" >A class supported by a marshaller.</xsd : documentation >
You can’t perform that action at this time.
0 commit comments