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">
8 <xsd:import namespace="http://www.springframework.org/schema/beans" schemaLocation="http://www.springframework.org/schema/beans/spring-beans-3.0.xsd"/>
9 <xsd:import namespace="http://www.springframework.org/schema/tool" schemaLocation="http://www.springframework.org/schema/tool/spring-tool-3.0.xsd"/>
13 Defines the elements used in Spring's Object/XML Mapping integration.
17 <xsd:element name="jaxb2-marshaller">
20 <xsd:documentation source="java:org.springframework.oxm.jaxb.Jaxb2Marshaller">
21 Defines a JAXB2 Marshaller.
25 <tool:exports type="org.springframework.oxm.jaxb.Jaxb2Marshaller"/>
30 <xsd:extension base="beans:identifiedType">
32 <xsd:element name="class-to-be-bound" minOccurs="0" maxOccurs="unbounded">
34 <xsd:attribute name="name" type="classType" use="required"/>
38 <xsd:attribute name="contextPath" type="xsd:string">
40 <xsd:documentation>The JAXB Context path</xsd:documentation>
48 <xsd:element name="jibx-marshaller">
51 <xsd:documentation source="java:org.springframework.oxm.jibx.JibxMarshaller">
52 Defines a JiBX Marshaller.
56 <tool:exports type="org.springframework.oxm.jibx.JibxMarshaller"/>
61 <xsd:extension base="beans:identifiedType">
62 <xsd:attribute name="target-class" type="classType" use="required"/>
63 <xsd:attribute name="bindingName" type="xsd:string">
65 <xsd:documentation>The binding name used by this marshaller.</xsd:documentation>
73 <xsd:element name="xmlbeans-marshaller">
76 <xsd:documentation source="java:org.springframework.oxm.xmlbeans.XmlBeansMarshaller">
77 Defines a XMLBeans Marshaller.
81 <tool:exports type="org.springframework.oxm.xmlbeans.XmlBeansMarshaller"/>
86 <xsd:extension base="beans:identifiedType">
87 <xsd:attribute name="options" type="xsd:string">
89 <xsd:documentation source="java:org.apache.xmlbeans.XmlOptions">
90 The bean name of the XmlOptions that is to be used for this marshaller. Typically a
91 XmlOptionsFactoryBean definition.
94 <tool:annotation kind="ref">
95 <tool:expected-type type="org.apache.xmlbeans.XmlOptions"/>
101 </xsd:complexContent>
105 <xsd:simpleType name="classType">
107 <xsd:documentation source="java:java.lang.Class">A class supported by a marshaller.</xsd:documentation>
109 <tool:annotation kind="direct">
110 <tool:expected-type type="java.lang.Class"/>
111 <tool:assignable-to restriction="class-only" />
115 <xsd:union memberTypes="xsd:string"/>