Skip to content

Commit 3724b90

Browse files
committed
Add spring-oxm-1.5.xsd
Issue: SPR-10121
1 parent 1abb7f6 commit 3724b90

File tree

1 file changed

+146
-0
lines changed

1 file changed

+146
-0
lines changed
Lines changed: 146 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,146 @@
1+
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2+
<xsd:schema xmlns="http://www.springframework.org/schema/oxm" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
3+
xmlns:beans="http://www.springframework.org/schema/beans"
4+
xmlns:tool="http://www.springframework.org/schema/tool"
5+
targetNamespace="http://www.springframework.org/schema/oxm" elementFormDefault="qualified"
6+
attributeFormDefault="unqualified">
7+
8+
<xsd:import namespace="http://www.springframework.org/schema/beans"/>
9+
<xsd:import namespace="http://www.springframework.org/schema/tool"/>
10+
11+
<xsd:annotation>
12+
<xsd:documentation>
13+
Defines the elements used in Spring's Object/XML Mapping integration.
14+
</xsd:documentation>
15+
</xsd:annotation>
16+
17+
<xsd:element name="jaxb1-marshaller">
18+
<xsd:complexType>
19+
<xsd:annotation>
20+
<xsd:documentation source="java:org.springframework.oxm.jaxb.Jaxb1Marshaller">
21+
Defines a JAXB1 Marshaller.
22+
</xsd:documentation>
23+
<xsd:appinfo>
24+
<tool:annotation>
25+
<tool:exports type="org.springframework.oxm.jaxb.Jaxb1Marshaller"/>
26+
</tool:annotation>
27+
</xsd:appinfo>
28+
</xsd:annotation>
29+
<xsd:complexContent>
30+
<xsd:extension base="beans:identifiedType">
31+
<xsd:attribute name="contextPath" type="xsd:string" use="required">
32+
<xsd:annotation>
33+
<xsd:documentation>The JAXB Context path</xsd:documentation>
34+
</xsd:annotation>
35+
</xsd:attribute>
36+
<xsd:attribute name="validating" type="xsd:boolean" default="false">
37+
<xsd:annotation>
38+
<xsd:documentation>Whether incoming XML should be validated.</xsd:documentation>
39+
</xsd:annotation>
40+
</xsd:attribute>
41+
</xsd:extension>
42+
</xsd:complexContent>
43+
</xsd:complexType>
44+
</xsd:element>
45+
46+
<xsd:element name="jaxb2-marshaller">
47+
<xsd:complexType>
48+
<xsd:annotation>
49+
<xsd:documentation source="java:org.springframework.oxm.jaxb.Jaxb2Marshaller">
50+
Defines a JAXB2 Marshaller.
51+
</xsd:documentation>
52+
<xsd:appinfo>
53+
<tool:annotation>
54+
<tool:exports type="org.springframework.oxm.jaxb.Jaxb2Marshaller"/>
55+
</tool:annotation>
56+
</xsd:appinfo>
57+
</xsd:annotation>
58+
<xsd:complexContent>
59+
<xsd:extension base="beans:identifiedType">
60+
<xsd:sequence>
61+
<xsd:element name="class-to-be-bound" minOccurs="0" maxOccurs="unbounded">
62+
<xsd:complexType>
63+
<xsd:attribute name="name" type="classType" use="required"/>
64+
</xsd:complexType>
65+
</xsd:element>
66+
</xsd:sequence>
67+
<xsd:attribute name="contextPath" type="xsd:string">
68+
<xsd:annotation>
69+
<xsd:documentation>The JAXB Context path</xsd:documentation>
70+
</xsd:annotation>
71+
</xsd:attribute>
72+
</xsd:extension>
73+
</xsd:complexContent>
74+
</xsd:complexType>
75+
</xsd:element>
76+
77+
<xsd:element name="jibx-marshaller">
78+
<xsd:complexType>
79+
<xsd:annotation>
80+
<xsd:documentation source="java:org.springframework.oxm.jibx.JibxMarshaller">
81+
Defines a JiBX Marshaller.
82+
</xsd:documentation>
83+
<xsd:appinfo>
84+
<tool:annotation>
85+
<tool:exports type="org.springframework.oxm.jibx.JibxMarshaller"/>
86+
</tool:annotation>
87+
</xsd:appinfo>
88+
</xsd:annotation>
89+
<xsd:complexContent>
90+
<xsd:extension base="beans:identifiedType">
91+
<xsd:attribute name="target-class" type="classType" use="required"/>
92+
<xsd:attribute name="bindingName" type="xsd:string">
93+
<xsd:annotation>
94+
<xsd:documentation>The binding name used by this marshaller.</xsd:documentation>
95+
</xsd:annotation>
96+
</xsd:attribute>
97+
</xsd:extension>
98+
</xsd:complexContent>
99+
</xsd:complexType>
100+
</xsd:element>
101+
102+
<xsd:element name="xmlbeans-marshaller">
103+
<xsd:complexType>
104+
<xsd:annotation>
105+
<xsd:documentation source="java:org.springframework.oxm.xmlbeans.XmlBeansMarshaller">
106+
Defines a XMLBeans Marshaller.
107+
</xsd:documentation>
108+
<xsd:appinfo>
109+
<tool:annotation>
110+
<tool:exports type="org.springframework.oxm.xmlbeans.XmlBeansMarshaller"/>
111+
</tool:annotation>
112+
</xsd:appinfo>
113+
</xsd:annotation>
114+
<xsd:complexContent>
115+
<xsd:extension base="beans:identifiedType">
116+
<xsd:attribute name="options" type="xsd:string">
117+
<xsd:annotation>
118+
<xsd:documentation source="java:org.apache.xmlbeans.XmlOptions">
119+
The bean name of the XmlOptions that is to be used for this marshaller. Typically a
120+
XmlOptionsFactoryBean definition.
121+
</xsd:documentation>
122+
<xsd:appinfo>
123+
<tool:annotation kind="ref">
124+
<tool:expected-type type="org.apache.xmlbeans.XmlOptions"/>
125+
</tool:annotation>
126+
</xsd:appinfo>
127+
</xsd:annotation>
128+
</xsd:attribute>
129+
</xsd:extension>
130+
</xsd:complexContent>
131+
</xsd:complexType>
132+
</xsd:element>
133+
134+
<xsd:simpleType name="classType">
135+
<xsd:annotation>
136+
<xsd:documentation source="java:java.lang.Class">A class supported by a marshaller.</xsd:documentation>
137+
<xsd:appinfo>
138+
<tool:annotation kind="direct">
139+
<tool:expected-type type="java.lang.Class"/>
140+
</tool:annotation>
141+
</xsd:appinfo>
142+
</xsd:annotation>
143+
<xsd:union memberTypes="xsd:string"/>
144+
</xsd:simpleType>
145+
146+
</xsd:schema>

0 commit comments

Comments
 (0)