1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184
|
<?xml version='1.0' encoding='UTF-8'?>
<!--
Schema for JiBX binding definition file
This file is generally kept up to date in terms of structure, but the comments
may not match the HTML binding documentation. The HTML documentation should be
considered correct in the case of any differences.
-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="binding">
<xs:complexType>
<xs:sequence>
<xs:element ref="include" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="namespace" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="format" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="mapping" minOccurs="1" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="direction" type="xs:string"/>
<xs:attribute name="forwards" type="xs:boolean"/>
<xs:attribute name="package" type="xs:string"/>
<xs:attribute name="track-source" type="xs:boolean"/>
<xs:attribute name="force-classes" type="xs:boolean"/>
<xs:attributeGroup ref="style"/>
</xs:complexType>
</xs:element>
<xs:element name="include">
<xs:complexType>
<xs:attribute name="path" use="required" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="collection">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="value"/>
<xs:element ref="structure"/>
<xs:element ref="collection"/>
</xs:choice>
<xs:attribute name="load-method" type="xs:string"/>
<xs:attribute name="size-method" type="xs:string"/>
<xs:attribute name="store-method" type="xs:string"/>
<xs:attribute name="add-method" type="xs:string"/>
<xs:attribute name="iter-method" type="xs:string"/>
<xs:attribute name="item-type" type="xs:string"/>
<xs:attributeGroup ref="style"/>
<xs:attributeGroup ref="name"/>
<xs:attributeGroup ref="object"/>
<xs:attributeGroup ref="property"/>
<xs:attributeGroup ref="structure"/>
</xs:complexType>
</xs:element>
<xs:element name="format">
<xs:complexType>
<xs:attribute name="label" type="xs:string"/>
<xs:attribute name="type" use="required" type="xs:string"/>
<xs:attributeGroup ref="string"/>
</xs:complexType>
</xs:element>
<xs:element name="mapping">
<xs:complexType>
<xs:sequence>
<xs:element ref="namespace" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="format" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="mapping" minOccurs="0" maxOccurs="unbounded"/>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="value"/>
<xs:element ref="structure"/>
<xs:element ref="collection"/>
</xs:choice>
</xs:sequence>
<xs:attribute name="class" use="required" type="xs:string"/>
<xs:attribute name="abstract" type="xs:boolean"/>
<xs:attribute name="extends" type="xs:string"/>
<xs:attribute name="type-name" type="xs:string"/>
<xs:attributeGroup ref="style"/>
<xs:attributeGroup ref="name"/>
<xs:attributeGroup ref="object"/>
<xs:attributeGroup ref="structure"/>
</xs:complexType>
</xs:element>
<xs:element name="namespace">
<xs:complexType>
<xs:attribute name="uri" use="required" type="xs:string"/>
<xs:attribute name="prefix" type="xs:string"/>
<xs:attribute name="default" type="xs:string"/>
</xs:complexType>
</xs:element>
<xs:element name="structure">
<xs:complexType>
<xs:choice minOccurs="0" maxOccurs="unbounded">
<xs:element ref="value"/>
<xs:element ref="structure"/>
<xs:element ref="collection"/>
</xs:choice>
<xs:attribute name="map-as" type="xs:string"/>
<xs:attributeGroup ref="style"/>
<xs:attributeGroup ref="name"/>
<xs:attributeGroup ref="object"/>
<xs:attributeGroup ref="property"/>
<xs:attributeGroup ref="structure"/>
</xs:complexType>
</xs:element>
<xs:element name="value">
<xs:complexType>
<xs:attribute name="constant" type="xs:string"/>
<xs:attribute name="format" type="xs:string"/>
<xs:attribute name="ident" type="xs:string"/>
<xs:attribute name="style" type="xs:string"/>
<xs:attributeGroup ref="name"/>
<xs:attributeGroup ref="property"/>
<xs:attributeGroup ref="string"/>
</xs:complexType>
</xs:element>
<xs:attributeGroup name="style">
<xs:attribute name="value-style" type="xs:string"/>
</xs:attributeGroup>
<xs:attributeGroup name="name">
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="ns" type="xs:string"/>
</xs:attributeGroup>
<xs:attributeGroup name="property">
<xs:attribute name="field" type="xs:string"/>
<xs:attribute name="type" type="xs:string"/>
<xs:attribute name="usage" type="xs:string"/>
<xs:attribute name="test-method" type="xs:string"/>
<xs:attribute name="get-method" type="xs:string"/>
<xs:attribute name="set-method" type="xs:string"/>
</xs:attributeGroup>
<xs:attributeGroup name="structure">
<xs:attribute name="label" type="xs:string"/>
<xs:attribute name="using" type="xs:string"/>
<xs:attribute name="ordered" type="xs:boolean"/>
<xs:attribute name="choice" type="xs:boolean"/>
</xs:attributeGroup>
<xs:attributeGroup name="string">
<xs:attribute name="default" type="xs:string"/>
<xs:attribute name="serializer" type="xs:string"/>
<xs:attribute name="deserializer" type="xs:string"/>
</xs:attributeGroup>
<xs:attributeGroup name="object">
<xs:attribute name="factory" type="xs:string"/>
<xs:attribute name="pre-set" type="xs:string"/>
<xs:attribute name="post-set" type="xs:string"/>
<xs:attribute name="pre-get" type="xs:string"/>
<xs:attribute name="marshaller" type="xs:string"/>
<xs:attribute name="unmarshaller" type="xs:string"/>
</xs:attributeGroup>
</xs:schema>
|