| 1 | <?xml version="1.0" encoding="UTF-8"?> |
|---|
| 2 | <!-- $Id$ --> |
|---|
| 3 | |
|---|
| 4 | <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" |
|---|
| 5 | targetNamespace="http://www.jcoderz.org/phoenix/report" |
|---|
| 6 | xmlns="http://www.jcoderz.org/phoenix/report" |
|---|
| 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 | <xsd:simpleType name='Severity'> |
|---|
| 13 | <xsd:annotation> |
|---|
| 14 | <xsd:appinfo> |
|---|
| 15 | <jxb:javaType name="org.jcoderz.phoenix.report.Severity" |
|---|
| 16 | parseMethod="org.jcoderz.phoenix.report.Severity.fromString" |
|---|
| 17 | printMethod="toString"/> |
|---|
| 18 | </xsd:appinfo> |
|---|
| 19 | </xsd:annotation> |
|---|
| 20 | <xsd:restriction base='xsd:string'> |
|---|
| 21 | <xsd:enumeration value='filtered'/> |
|---|
| 22 | <xsd:enumeration value='ok'/> |
|---|
| 23 | <xsd:enumeration value='coverage'/> |
|---|
| 24 | <xsd:enumeration value='info'/> |
|---|
| 25 | <xsd:enumeration value='code-style'/> |
|---|
| 26 | <xsd:enumeration value='design'/> |
|---|
| 27 | <xsd:enumeration value='warning'/> |
|---|
| 28 | <xsd:enumeration value='cpd'/> |
|---|
| 29 | <xsd:enumeration value='error'/> |
|---|
| 30 | </xsd:restriction> |
|---|
| 31 | </xsd:simpleType> |
|---|
| 32 | |
|---|
| 33 | <xsd:simpleType name='Origin'> |
|---|
| 34 | <xsd:annotation> |
|---|
| 35 | <xsd:appinfo> |
|---|
| 36 | <jxb:javaType name="org.jcoderz.phoenix.report.Origin" |
|---|
| 37 | parseMethod="fromString" |
|---|
| 38 | printMethod="toString"/> |
|---|
| 39 | </xsd:appinfo> |
|---|
| 40 | </xsd:annotation> |
|---|
| 41 | <xsd:restriction base='xsd:string'> |
|---|
| 42 | <xsd:maxLength value="15"/> |
|---|
| 43 | <xsd:minLength value="1"/> |
|---|
| 44 | <xsd:pattern value="[A-Za-z0-9]*"/> |
|---|
| 45 | <!-- |
|---|
| 46 | <xsd:enumeration value='PMD'/> |
|---|
| 47 | <xsd:enumeration value='Checkstyle'/> |
|---|
| 48 | <xsd:enumeration value='Findbugs'/> |
|---|
| 49 | <xsd:enumeration value='Coverage'/> |
|---|
| 50 | <xsd:enumeration value='CPD'/> <!- - cut'n'paste detector - -> |
|---|
| 51 | <xsd:enumeration value='System'/> |
|---|
| 52 | <xsd:enumeration value='JavaDoc'/> --> |
|---|
| 53 | <!-- Might need to open this up to allow dynamic addition of new |
|---|
| 54 | bug hunters --> |
|---|
| 55 | </xsd:restriction> |
|---|
| 56 | </xsd:simpleType> |
|---|
| 57 | |
|---|
| 58 | <xsd:simpleType name='ReportLevel'> |
|---|
| 59 | <xsd:annotation> |
|---|
| 60 | <xsd:appinfo> |
|---|
| 61 | <jxb:javaType name="org.jcoderz.phoenix.report.ReportLevel" |
|---|
| 62 | parseMethod="fromString" |
|---|
| 63 | printMethod="toString"/> |
|---|
| 64 | </xsd:appinfo> |
|---|
| 65 | </xsd:annotation> |
|---|
| 66 | <xsd:restriction base='xsd:string'> |
|---|
| 67 | <xsd:enumeration value='prod'/> |
|---|
| 68 | <xsd:enumeration value='test'/> |
|---|
| 69 | <xsd:enumeration value='misc'/> |
|---|
| 70 | <!-- Might need to open this up to allow dynamic addition of new |
|---|
| 71 | source types --> |
|---|
| 72 | </xsd:restriction> |
|---|
| 73 | </xsd:simpleType> |
|---|
| 74 | |
|---|
| 75 | </xsd:schema> |
|---|