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