| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <!-- $Id$ --> |
|---|
| 3 | |
|---|
| 4 | |
|---|
| 5 | <xsd:schema |
|---|
| 6 | xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
|---|
| 7 | xmlns:jxb="http://java.sun.com/xml/ns/jaxb" |
|---|
| 8 | xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" |
|---|
| 9 | jxb:extensionBindingPrefixes="xjc" |
|---|
| 10 | jxb:version="1.0"> |
|---|
| 11 | |
|---|
| 12 | <!-- copied from JAXB sample schema --> |
|---|
| 13 | <xsd:annotation> |
|---|
| 14 | <xsd:appinfo> |
|---|
| 15 | |
|---|
| 16 | <jxb:globalBindings |
|---|
| 17 | fixedAttributeAsConstantProperty="true" |
|---|
| 18 | collectionType="java.util.ArrayList" |
|---|
| 19 | typesafeEnumBase="xsd:NCName" |
|---|
| 20 | choiceContentProperty="true" |
|---|
| 21 | typesafeEnumMemberName="generateError" |
|---|
| 22 | enableFailFastCheck="false" |
|---|
| 23 | generateIsSetMethod="true" |
|---|
| 24 | underscoreBinding="asCharInWord"> |
|---|
| 25 | <xjc:serializable uid="106"/> |
|---|
| 26 | </jxb:globalBindings> |
|---|
| 27 | <jxb:schemaBindings> |
|---|
| 28 | <jxb:package name="org.jcoderz.phoenix.jcoverage.jaxb"/> |
|---|
| 29 | |
|---|
| 30 | <!-- |
|---|
| 31 | <jxb:nameXmlTransform> |
|---|
| 32 | <jxb:elementName suffix="Element"/> |
|---|
| 33 | </jxb:nameXmlTransform> |
|---|
| 34 | --> |
|---|
| 35 | </jxb:schemaBindings> |
|---|
| 36 | </xsd:appinfo> |
|---|
| 37 | </xsd:annotation> |
|---|
| 38 | |
|---|
| 39 | <xsd:element name='branch'> |
|---|
| 40 | <xsd:complexType> |
|---|
| 41 | <xsd:attribute name='rate' type='xsd:NMTOKEN' use='required'/> |
|---|
| 42 | </xsd:complexType> |
|---|
| 43 | </xsd:element> |
|---|
| 44 | |
|---|
| 45 | <xsd:element name='class'> |
|---|
| 46 | <xsd:annotation> |
|---|
| 47 | <xsd:appinfo> |
|---|
| 48 | <jxb:class name="clazz"/> |
|---|
| 49 | </xsd:appinfo> |
|---|
| 50 | </xsd:annotation> |
|---|
| 51 | <xsd:complexType> |
|---|
| 52 | <xsd:sequence> |
|---|
| 53 | <xsd:element ref='file'/> |
|---|
| 54 | <xsd:element ref='line'/> |
|---|
| 55 | <xsd:element ref='branch'/> |
|---|
| 56 | <xsd:element ref='methods'/> |
|---|
| 57 | <xsd:element ref='valid' minOccurs='0' maxOccurs='1'/> |
|---|
| 58 | <xsd:element ref='line' minOccurs='0' maxOccurs='unbounded'> |
|---|
| 59 | <xsd:annotation> |
|---|
| 60 | <xsd:appinfo> |
|---|
| 61 | <jxb:property name="coveredLines"/> |
|---|
| 62 | </xsd:appinfo> |
|---|
| 63 | </xsd:annotation> |
|---|
| 64 | </xsd:element> |
|---|
| 65 | </xsd:sequence> |
|---|
| 66 | <xsd:attribute name='name' type='xsd:string' use='required'/> |
|---|
| 67 | </xsd:complexType> |
|---|
| 68 | </xsd:element> |
|---|
| 69 | |
|---|
| 70 | <xsd:element name='coverage'> |
|---|
| 71 | <xsd:complexType> |
|---|
| 72 | <xsd:sequence minOccurs='0' maxOccurs='unbounded'> |
|---|
| 73 | <xsd:annotation> |
|---|
| 74 | <xsd:appinfo> |
|---|
| 75 | <jxb:property name="clazzes"/> |
|---|
| 76 | </xsd:appinfo> |
|---|
| 77 | </xsd:annotation> |
|---|
| 78 | <xsd:element ref="class"> |
|---|
| 79 | </xsd:element> |
|---|
| 80 | </xsd:sequence> |
|---|
| 81 | <xsd:attribute name='src' type='xsd:string' use='required'/> |
|---|
| 82 | </xsd:complexType> |
|---|
| 83 | </xsd:element> |
|---|
| 84 | |
|---|
| 85 | <xsd:element name='file'> |
|---|
| 86 | <xsd:complexType> |
|---|
| 87 | <xsd:attribute name='name' type='xsd:string' use='required'/> |
|---|
| 88 | </xsd:complexType> |
|---|
| 89 | </xsd:element> |
|---|
| 90 | |
|---|
| 91 | <xsd:element name='line'> |
|---|
| 92 | <xsd:complexType> |
|---|
| 93 | <xsd:attribute name='hits' type='xsd:int' use='optional'/> |
|---|
| 94 | <xsd:attribute name='number' type='xsd:int' use='optional'/> |
|---|
| 95 | <xsd:attribute name='rate' type='xsd:float' use='optional'/> |
|---|
| 96 | </xsd:complexType> |
|---|
| 97 | </xsd:element> |
|---|
| 98 | |
|---|
| 99 | <xsd:element name='method'> |
|---|
| 100 | <xsd:complexType mixed='true'> |
|---|
| 101 | <xsd:choice minOccurs='0' maxOccurs='unbounded'> |
|---|
| 102 | <xsd:element ref='branch'/> |
|---|
| 103 | <xsd:element ref='line'/> |
|---|
| 104 | </xsd:choice> |
|---|
| 105 | <xsd:attribute name='nameAndSignature' type='xsd:string' use='optional'/> |
|---|
| 106 | </xsd:complexType> |
|---|
| 107 | </xsd:element> |
|---|
| 108 | |
|---|
| 109 | <xsd:element name='methods'> |
|---|
| 110 | <xsd:complexType> |
|---|
| 111 | <xsd:sequence> |
|---|
| 112 | <xsd:element ref='method' minOccurs='0' maxOccurs='unbounded'/> |
|---|
| 113 | </xsd:sequence> |
|---|
| 114 | </xsd:complexType> |
|---|
| 115 | </xsd:element> |
|---|
| 116 | |
|---|
| 117 | <xsd:element name='valid'> |
|---|
| 118 | <xsd:complexType> |
|---|
| 119 | <xsd:attribute name='lines' type='xsd:string' use='required'/> |
|---|
| 120 | </xsd:complexType> |
|---|
| 121 | </xsd:element> |
|---|
| 122 | </xsd:schema> |
|---|