Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
PojavLauncherTeam
GitHub Repository: PojavLauncherTeam/mobile
Path: blob/master/test/langtools/jdk/javadoc/tool/sampleapi/res/sub.xml
40984 views
1
<?xml version="1.0" encoding="utf-8"?>
2
<!--
3
Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
4
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
5
6
This code is free software; you can redistribute it and/or modify it
7
under the terms of the GNU General Public License version 2 only, as
8
published by the Free Software Foundation.
9
10
This code is distributed in the hope that it will be useful, but WITHOUT
11
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
12
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
13
version 2 for more details (a copy is included in the LICENSE file that
14
accompanied this code).
15
16
You should have received a copy of the GNU General Public License version
17
2 along with this work; if not, write to the Free Software Foundation,
18
Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
19
20
Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
21
or visit www.oracle.com if you need additional information or have any
22
questions.
23
-->
24
<sampleapi>
25
<module name="UNNAMED">
26
<package name="sampleapi.simple.sub">
27
<class basename="SClass">
28
<modifier>public</modifier>
29
<modifier>none|abstract</modifier>
30
<implement>SInterface0</implement>
31
<member>
32
<field basename="id">
33
<modifier>public</modifier>
34
<type>int</type>
35
</field>
36
<method basename="get">
37
<modifier>public</modifier>
38
<type>int</type>
39
<throw>SException0</throw>
40
</method>
41
<method basename="put">
42
<modifier>public</modifier>
43
<param>int</param>
44
<type>void</type>
45
<throw>SException0</throw>
46
</method>
47
</member>
48
</class>
49
50
<class basename="SException">
51
<modifier>public</modifier>
52
<extend ref="java.lang.Exception"/>
53
<member>
54
<constructor>
55
<modifier>public</modifier>
56
<param>String</param>
57
</constructor>
58
</member>
59
</class>
60
61
<interface basename="SInterface">
62
<modifier>public</modifier>
63
<member>
64
<method basename="put">
65
<modifier>public</modifier>
66
<type>void</type>
67
<param>int</param>
68
</method>
69
</member>
70
</interface>
71
72
<enum basename="SEnum">
73
<modifier>public</modifier>
74
<member>
75
<constant basename="ON" count="1"/>
76
<constant basename="OFF" count="1"/>
77
</member>
78
</enum>
79
80
<annotation basename="SAnno">
81
<modifier>public</modifier>
82
<member>
83
<method basename="value">
84
<modifier>public</modifier>
85
<type>boolean</type>
86
</method>
87
</member>
88
</annotation>
89
90
</package>
91
</module>
92
</sampleapi>
93
94