huangcm
2025-02-24 69ed55dec4b2116a19e4cca4393cbc014fce5fb2
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
<?xml version="1.0" encoding="iso-8859-1" standalone="no"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
 
<xsd:annotation>
  <xsd:documentation>
  Schema for JDiff API representation.
  </xsd:documentation>
</xsd:annotation>
 
<xsd:element name="api" type="apiType"/>
 
<xsd:complexType name="apiType">
  <xsd:sequence>
    <xsd:element name="package" type="packageType" minOccurs='1' maxOccurs='unbounded'/>
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string"/>
  <xsd:attribute name="jdversion" type="xsd:string"/>
</xsd:complexType>
 
<xsd:complexType name="packageType">
  <xsd:sequence>
    <xsd:choice maxOccurs='unbounded'>
      <xsd:element name="class" type="classType"/>
      <xsd:element name="interface" type="classType"/>
    </xsd:choice>
    <xsd:element name="doc" type="xsd:string" minOccurs='0' maxOccurs='1'/>
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
 
<xsd:complexType name="classType">
  <xsd:sequence>
    <xsd:element name="implements" type="interfaceTypeName" minOccurs='0' maxOccurs='unbounded'/>
    <xsd:element name="constructor" type="constructorType" minOccurs='0' maxOccurs='unbounded'/>
    <xsd:element name="method" type="methodType" minOccurs='0' maxOccurs='unbounded'/>
    <xsd:element name="field" type="fieldType" minOccurs='0' maxOccurs='unbounded'/>
    <xsd:element name="doc" type="xsd:string" minOccurs='0' maxOccurs='1'/>
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string"/>
  <xsd:attribute name="extends" type="xsd:string" use='optional'/>
  <xsd:attribute name="abstract" type="xsd:boolean"/>
  <xsd:attribute name="src" type="xsd:string" use='optional'/>
  <xsd:attribute name="static" type="xsd:boolean"/>
  <xsd:attribute name="final" type="xsd:boolean"/>
  <xsd:attribute name="deprecated" type="xsd:string"/>
  <xsd:attribute name="visibility" type="xsd:string"/>
</xsd:complexType>
 
<xsd:complexType name="interfaceTypeName">
  <xsd:attribute name="name" type="xsd:string"/>
</xsd:complexType>
 
<xsd:complexType name="constructorType">
  <xsd:sequence>
    <xsd:element name="parameter" type="paramsType" minOccurs='0' maxOccurs='unbounded'/>
    <xsd:element name="exception" type="exceptionType" minOccurs='0' maxOccurs='unbounded'/>
    <xsd:element name="doc" type="xsd:string" minOccurs='0' maxOccurs='1'/>
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string"/>
  <xsd:attribute name="type" type="xsd:string" use='optional'/>
  <xsd:attribute name="src" type="xsd:string" use='optional'/>
  <xsd:attribute name="static" type="xsd:boolean"/>
  <xsd:attribute name="final" type="xsd:boolean"/>
  <xsd:attribute name="deprecated" type="xsd:string"/>
  <xsd:attribute name="visibility" type="xsd:string"/>
</xsd:complexType>
 
<xsd:complexType name="paramsType">
  <xsd:attribute name="name" type="xsd:string"/>
  <xsd:attribute name="type" type="xsd:string"/>
</xsd:complexType>
 
<xsd:complexType name="exceptionType">
  <xsd:attribute name="name" type="xsd:string"/>
  <xsd:attribute name="type" type="xsd:string"/>
</xsd:complexType>
 
<xsd:complexType name="methodType">
  <xsd:sequence>
    <xsd:element name="parameter" type="paramsType" minOccurs='0' maxOccurs='unbounded'/>
    <xsd:element name="exception" type="exceptionType" minOccurs='0' maxOccurs='unbounded'/>
    <xsd:element name="doc" type="xsd:string" minOccurs='0' maxOccurs='1'/>
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string"/>
  <xsd:attribute name="return" type="xsd:string" use='optional'/>
  <xsd:attribute name="abstract" type="xsd:boolean"/>
  <xsd:attribute name="native" type="xsd:boolean"/>
  <xsd:attribute name="synchronized" type="xsd:boolean"/>
  <xsd:attribute name="src" type="xsd:string" use='optional'/>
  <xsd:attribute name="static" type="xsd:boolean"/>
  <xsd:attribute name="final" type="xsd:boolean"/>
  <xsd:attribute name="deprecated" type="xsd:string"/>
  <xsd:attribute name="visibility" type="xsd:string"/>
</xsd:complexType>
 
<xsd:complexType name="fieldType">
  <xsd:sequence>
    <xsd:element name="doc" type="xsd:string" minOccurs='0' maxOccurs='1'/>
  </xsd:sequence>
  <xsd:attribute name="name" type="xsd:string"/>
  <xsd:attribute name="type" type="xsd:string"/>
  <xsd:attribute name="transient" type="xsd:boolean"/>
  <xsd:attribute name="volatile" type="xsd:boolean"/>
  <xsd:attribute name="value" type="xsd:string" use='optional'/>
  <xsd:attribute name="src" type="xsd:string" use='optional'/>
  <xsd:attribute name="static" type="xsd:boolean"/>
  <xsd:attribute name="final" type="xsd:boolean"/>
  <xsd:attribute name="deprecated" type="xsd:string"/>
  <xsd:attribute name="visibility" type="xsd:string"/>
</xsd:complexType>
 
</xsd:schema>