File tree Expand file tree Collapse file tree 4 files changed +7
-34
lines changed
java/org/springframework/oxm
resources/org/springframework/oxm/config Expand file tree Collapse file tree 4 files changed +7
-34
lines changed Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2012 the original author or authors.
2+ * Copyright 2002-2015 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
2828public class OxmNamespaceHandler extends NamespaceHandlerSupport {
2929
3030 @ Override
31+ @ SuppressWarnings ("deprecation" )
3132 public void init () {
3233 registerBeanDefinitionParser ("jaxb2-marshaller" , new Jaxb2MarshallerBeanDefinitionParser ());
3334 registerBeanDefinitionParser ("jibx-marshaller" , new JibxMarshallerBeanDefinitionParser ());
34- registerBeanDefinitionParser ("xmlbeans-marshaller" , new XmlBeansMarshallerBeanDefinitionParser ());
3535 registerBeanDefinitionParser ("castor-marshaller" , new CastorMarshallerBeanDefinitionParser ());
36+ registerBeanDefinitionParser ("xmlbeans-marshaller" , new XmlBeansMarshallerBeanDefinitionParser ());
3637 }
3738
3839}
Original file line number Diff line number Diff line change 2828 *
2929 * @author Arjen Poutsma
3030 * @since 3.0
31+ * @deprecated as of Spring 4.2, following the XMLBeans retirement at Apache
3132 */
33+ @ Deprecated
3234class XmlBeansMarshallerBeanDefinitionParser extends AbstractSingleBeanDefinitionParser {
3335
3436 @ Override
Original file line number Diff line number Diff line change 7575 * @see #setValidating
7676 * @see #setXmlOptions
7777 * @see XmlOptionsFactoryBean
78+ * @deprecated as of Spring 4.2, following the XMLBeans retirement at Apache
7879 */
80+ @ Deprecated
7981public class XmlBeansMarshaller extends AbstractMarshaller {
8082
8183 private XmlOptions xmlOptions ;
Original file line number Diff line number Diff line change 120120 </xsd : complexType >
121121 </xsd : element >
122122
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-
155123 <xsd : simpleType name =" classType" >
156124 <xsd : annotation >
157125 <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