Blame view

src/main/xjb/bindings.xjb 2.29 KB
bernard authored
1 2
<jxb:bindings version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
bernard authored
3 4 5
              xsi:schemaLocation="http://java.sun.com/xml/ns/jaxb http://java.sun.com/xml/ns/jaxb/bindingschema_2_0.xsd">

bernard authored
6
    <jxb:bindings schemaLocation="../xsd/issuesByProject.xsd" node="/xs:schema">
bernard authored
7 8 9 10 11
        <jxb:bindings node=".//xs:element[@name='issues']//xs:sequence[@id='issues']">
            <jxb:property name="issues"/>
        </jxb:bindings>
    </jxb:bindings>
bernard authored
12 13 14 15 16 17
    <jxb:bindings schemaLocation="../xsd/individualAssignees.xsd" node="/xs:schema">
        <jxb:bindings node=".//xs:element[@name='userRefs']//xs:sequence[@id='users']">
            <jxb:property name="users"/>
        </jxb:bindings>
    </jxb:bindings>
bernard authored
18 19 20 21 22 23
    <jxb:bindings schemaLocation="../xsd/assignees.xsd" node="/xs:schema">
        <jxb:bindings node=".//xs:element[@name='assigneeList']//xs:sequence[@id='innerAssignees']">
            <jxb:property name="assignees"/>
        </jxb:bindings>
    </jxb:bindings>
bernard authored
24
    <jxb:bindings schemaLocation="../xsd/types.xsd" node="/xs:schema">
bernard authored
25 26

        <jxb:globalBindings localScoping="nested"/>
bernard authored
27
bernard authored
28 29 30 31 32 33 34 35 36 37 38
        <jxb:bindings node=".//xs:complexType[@name='enumerationType']">
            <jxb:bindings node="./xs:sequence[@id='enumerationTypeValue']">
                <jxb:property name="values"/>
            </jxb:bindings>
            <jxb:class name="Enumeration"/>
        </jxb:bindings>

        <jxb:bindings node=".//xs:complexType[@name='enumerationValueType']">
            <jxb:class name="EnumerationValue"/>
        </jxb:bindings>
bernard authored
39 40 41
        <jxb:bindings node=".//xs:complexType[@name='fieldType']">
            <jxb:bindings node="./xs:sequence[@id='value']">
                <jxb:property name="values"/>
bernard authored
42
            </jxb:bindings>
bernard authored
43
            <jxb:class name="Field"/>
bernard authored
44
        </jxb:bindings>
bernard authored
45 46 47 48 49 50 51 52 53

        <jxb:bindings node=".//xs:complexType[@name='issueType']">
            <jxb:class name="Issue"/>
        </jxb:bindings>

        <jxb:bindings node=".//xs:complexType[@name='commentType']">
            <jxb:class name="Comment"/>
        </jxb:bindings>
bernard authored
54 55 56 57
        <jxb:bindings node=".//xs:complexType[@name='userType']">
            <jxb:class name="User"/>
        </jxb:bindings>
bernard authored
58
    </jxb:bindings>
bernard authored
59
bernard authored
60
</jxb:bindings>