src/hotspot/share/prims/jvmti.xsl
author iris
Mon, 17 Sep 2018 10:14:31 -0700
changeset 51768 9884b717f2ed
parent 51253 35ca229c7f6f
child 54747 0082ede5dc53
permissions -rw-r--r--
8210775: JVM TI Spec missing copyright Reviewed-by: dholmes, mchung, sspitsyn
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     1
<?xml version="1.0"?> 
489c9b5090e2 Initial load
duke
parents:
diff changeset
     2
<!--
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
     3
 Copyright (c) 2002, 2018, Oracle and/or its affiliates. All rights reserved.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
     4
 DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     5
489c9b5090e2 Initial load
duke
parents:
diff changeset
     6
 This code is free software; you can redistribute it and/or modify it
489c9b5090e2 Initial load
duke
parents:
diff changeset
     7
 under the terms of the GNU General Public License version 2 only, as
489c9b5090e2 Initial load
duke
parents:
diff changeset
     8
 published by the Free Software Foundation.
489c9b5090e2 Initial load
duke
parents:
diff changeset
     9
489c9b5090e2 Initial load
duke
parents:
diff changeset
    10
 This code is distributed in the hope that it will be useful, but WITHOUT
489c9b5090e2 Initial load
duke
parents:
diff changeset
    11
 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
489c9b5090e2 Initial load
duke
parents:
diff changeset
    12
 FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
489c9b5090e2 Initial load
duke
parents:
diff changeset
    13
 version 2 for more details (a copy is included in the LICENSE file that
489c9b5090e2 Initial load
duke
parents:
diff changeset
    14
 accompanied this code).
489c9b5090e2 Initial load
duke
parents:
diff changeset
    15
489c9b5090e2 Initial load
duke
parents:
diff changeset
    16
 You should have received a copy of the GNU General Public License version
489c9b5090e2 Initial load
duke
parents:
diff changeset
    17
 2 along with this work; if not, write to the Free Software Foundation,
489c9b5090e2 Initial load
duke
parents:
diff changeset
    18
 Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
489c9b5090e2 Initial load
duke
parents:
diff changeset
    19
5547
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1
diff changeset
    20
 Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1
diff changeset
    21
 or visit www.oracle.com if you need additional information or have any
f4b087cbb361 6941466: Oracle rebranding changes for Hotspot repositories
trims
parents: 1
diff changeset
    22
 questions.
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    23
  
489c9b5090e2 Initial load
duke
parents:
diff changeset
    24
-->
489c9b5090e2 Initial load
duke
parents:
diff changeset
    25
489c9b5090e2 Initial load
duke
parents:
diff changeset
    26
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    27
489c9b5090e2 Initial load
duke
parents:
diff changeset
    28
<xsl:import href="jvmtiLib.xsl"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    29
489c9b5090e2 Initial load
duke
parents:
diff changeset
    30
<xsl:output method="html" indent="yes" 
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    31
  doctype-system="about:legacy-compat"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    32
489c9b5090e2 Initial load
duke
parents:
diff changeset
    33
<xsl:param name="development"></xsl:param>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    34
489c9b5090e2 Initial load
duke
parents:
diff changeset
    35
<xsl:template match="specification">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    36
  <html lang="en">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    37
  <head>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    38
        <title>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    39
          <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    40
          <xsl:text> </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    41
          <xsl:call-template name="showversion"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    42
        </title>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    43
        <style>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    44
          .centered { text-align: center; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    45
          .leftAligned { text-align: left; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    46
          .rightAligned { text-align: right; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    47
          .bgLight { background-color: #EEEEFF; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    48
          .bgDark { background-color: #CCCCFF}
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    49
          th { background-color: #EEEEFF; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    50
          td.tableHeader {font-size: larger; text-align:center; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    51
          div.sep { height: 10px; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    52
          div.callbackCtnr { margin: 0 5%; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    53
          hr { border-width:0; color:gray; background-color:gray; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    54
          hr.thick { height:3px; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    55
          hr.thin { height:1px; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    56
          table.bordered { border: 1px solid gray; border-spacing: 0; border-collapse: separate; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    57
          table.bordered td, table.bordered th { padding: 3px; border: 1px solid black; }
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    58
          table.wide { width: 100%; }
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    59
        </style>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    60
  </head>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    61
  <body>
51253
35ca229c7f6f 8199155: Accessibility issues in jdk.jdi
amenkov
parents: 48788
diff changeset
    62
    <div class="centered" role="banner">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    63
      <xsl:apply-templates select="title"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
    64
    </div>
51253
35ca229c7f6f 8199155: Accessibility issues in jdk.jdi
amenkov
parents: 48788
diff changeset
    65
    <ul role="navigation">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
    66
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    67
        <a href="#SpecificationIntro"><b>Introduction</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    68
        <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    69
          <xsl:for-each select="intro">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    70
            <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    71
              <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    72
                <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    73
                </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    74
                <b><xsl:value-of select="@label"/></b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    75
              </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    76
            </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    77
          </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    78
        </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    79
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    80
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    81
        <a href="#FunctionSection"><b>Functions</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    82
        <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    83
          <xsl:for-each select="functionsection/intro">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    84
            <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    85
              <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    86
                <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    87
                </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    88
                <b><xsl:value-of select="@label"/></b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    89
              </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    90
            </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    91
          </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    92
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    93
            <a href="#FunctionIndex"><b>Function Index</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    94
            <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    95
              <xsl:for-each select="functionsection/category">
489c9b5090e2 Initial load
duke
parents:
diff changeset
    96
                <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    97
                  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    98
                    <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
    99
                    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   100
                    <b><xsl:value-of select="@label"/></b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   101
                  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   102
                </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   103
              </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   104
            </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   105
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   106
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   107
            <a href="#ErrorSection"><b>Error Codes</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   108
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   109
        </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   110
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   111
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   112
        <a href="#EventSection"><b>Events</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   113
        <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   114
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   115
            <a href="#EventIndex"><b>Event Index</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   116
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   117
        </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   118
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   119
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   120
        <a href="#DataSection"><b>Data Types</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   121
        <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   122
          <xsl:for-each select="//basetypes">   
489c9b5090e2 Initial load
duke
parents:
diff changeset
   123
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   124
            <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   125
              <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   126
              <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   127
                <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   128
              </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   129
            </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   130
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   131
          </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   132
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   133
            <a href="#StructureTypeDefinitions"><b>Structure Type Definitions</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   134
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   135
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   136
            <a href="#FunctionTypeDefinitions"><b>Function Type Definitions</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   137
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   138
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   139
            <a href="#EnumerationDefinitions"><b>Enumeration Definitions</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   140
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   141
          <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   142
            <a href="#FunctionTable"><b>Function Table</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   143
          </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   144
        </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   145
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   146
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   147
        <a href="#ConstantIndex"><b>Constant Index</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   148
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   149
      <xsl:if test="$development = 'Show'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   150
        <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   151
          <a href="#SpecificationIssues"><b>Issues</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   152
          <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   153
            <xsl:for-each select="issuessection/intro">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   154
              <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   155
                <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   156
                  <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   157
                  </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   158
                  <b><xsl:value-of select="@label"/></b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   159
                </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   160
              </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   161
            </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   162
          </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   163
        </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   164
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   165
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   166
        <a href="#ChangeHistory"><b>Change History</b></a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   167
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   168
    </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   169
    <!-- end table of contents, begin body -->
51253
35ca229c7f6f 8199155: Accessibility issues in jdk.jdi
amenkov
parents: 48788
diff changeset
   170
    <div role="main">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   171
    <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   172
    <hr class="thick"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   173
    <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   174
    <p id="SpecificationIntro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   175
      <xsl:apply-templates select="intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   176
    <p id="FunctionSection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   177
      <xsl:apply-templates select="functionsection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   178
    <p id="ErrorSection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   179
      <xsl:apply-templates select="errorsection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   180
    <p id="DataSection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   181
      <xsl:apply-templates select="datasection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   182
    <p id="EventSection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   183
      <xsl:apply-templates select="eventsection"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   184
    <p id="ConstantIndex"/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   185
      <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   186
      <hr class="thick"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   187
      <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   188
        Constant Index
489c9b5090e2 Initial load
duke
parents:
diff changeset
   189
      </h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   190
      <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   191
        <xsl:apply-templates select="//constant" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   192
          <xsl:sort select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   193
        </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   194
      </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   195
    <xsl:if test="$development = 'Show'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   196
      <p id="SpecificationIssues"/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   197
      <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   198
      <hr class="thick"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   199
      <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   200
        <xsl:value-of select="issuessection/@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   201
      </h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   202
      <xsl:apply-templates select="issuessection/intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   203
    </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   204
    <p id="ChangeHistory"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   205
      <xsl:apply-templates select="changehistory"/>
51253
35ca229c7f6f 8199155: Accessibility issues in jdk.jdi
amenkov
parents: 48788
diff changeset
   206
    </div>
51768
9884b717f2ed 8210775: JVM TI Spec missing copyright
iris
parents: 51253
diff changeset
   207
    <xsl:apply-templates select="copyright"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   208
  </body>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   209
</html>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   210
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   211
489c9b5090e2 Initial load
duke
parents:
diff changeset
   212
<xsl:template match="title">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   213
    <h1>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   214
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   215
    </h1>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   216
    <h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   217
      <xsl:value-of select="@subtitle"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   218
      <xsl:text> </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   219
      <xsl:call-template name="showbasicversion"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   220
    </h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   221
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   222
51768
9884b717f2ed 8210775: JVM TI Spec missing copyright
iris
parents: 51253
diff changeset
   223
<xsl:template match="copyright">
9884b717f2ed 8210775: JVM TI Spec missing copyright
iris
parents: 51253
diff changeset
   224
  <p>
9884b717f2ed 8210775: JVM TI Spec missing copyright
iris
parents: 51253
diff changeset
   225
    <xsl:apply-templates/>
9884b717f2ed 8210775: JVM TI Spec missing copyright
iris
parents: 51253
diff changeset
   226
  </p>
9884b717f2ed 8210775: JVM TI Spec missing copyright
iris
parents: 51253
diff changeset
   227
</xsl:template>
9884b717f2ed 8210775: JVM TI Spec missing copyright
iris
parents: 51253
diff changeset
   228
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   229
<xsl:template match="functionsection">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   230
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   231
  <hr class="thick"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   232
  <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   233
    <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   234
  </h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   235
  <xsl:apply-templates select="intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   236
  <h3 id="FunctionIndex">Function Index</h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   237
  <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   238
    <xsl:apply-templates select="category" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   239
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   240
  <xsl:apply-templates select="category" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   241
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   242
489c9b5090e2 Initial load
duke
parents:
diff changeset
   243
<xsl:template match="category" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   244
  <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   245
    <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   246
      <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   247
      <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   248
        <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   249
      </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   250
    </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   251
    <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   252
      <xsl:apply-templates select="function[count(@hide)=0]" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   253
    </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   254
  </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   255
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   256
489c9b5090e2 Initial load
duke
parents:
diff changeset
   257
<xsl:template match="function|callback" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   258
  <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   259
    <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   260
      <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   261
      <xsl:apply-templates select="synopsis" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   262
    </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   263
  </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   264
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   265
489c9b5090e2 Initial load
duke
parents:
diff changeset
   266
<xsl:template match="synopsis" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   267
    <xsl:value-of select="."/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   268
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   269
489c9b5090e2 Initial load
duke
parents:
diff changeset
   270
<xsl:template match="category" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   271
  <p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   272
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   273
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   274
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   275
  </p>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   276
  <hr class="thick"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   277
  <h2 class="centered"><xsl:value-of select="@label"/></h2>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   278
  <xsl:value-of select="@label"/> functions:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   279
  <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   280
    <xsl:apply-templates select="function[count(@hide)=0]" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   281
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   282
  <xsl:variable name="calltypes" select="callback"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   283
  <xsl:if test="count($calltypes)!=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   284
    <xsl:value-of select="@label"/> function types:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   285
    <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   286
      <xsl:apply-templates select="$calltypes" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   287
    </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   288
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   289
  <xsl:variable name="cattypes" 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   290
    select="(descendant::typedef|descendant::uniontypedef|descendant::capabilitiestypedef|descendant::constants[@kind='enum'])"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   291
  <xsl:if test="count($cattypes)!=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   292
    <xsl:value-of select="@label"/> types:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   293
    <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   294
      <xsl:for-each select="$cattypes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   295
        <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   296
          <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   297
            <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   298
              <xsl:text>#</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   299
              <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   300
            </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   301
            <code><xsl:value-of select="@id"/></code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   302
          </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   303
          <xsl:text> - </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   304
          <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   305
        </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   306
      </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   307
    </ul>    
489c9b5090e2 Initial load
duke
parents:
diff changeset
   308
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   309
  <xsl:variable name="catconst" 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   310
    select="(descendant::constants[@kind!='enum'])"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   311
  <xsl:if test="count($catconst)!=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   312
    <xsl:value-of select="@label"/> flags and constants:
489c9b5090e2 Initial load
duke
parents:
diff changeset
   313
    <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   314
      <xsl:for-each select="$catconst">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   315
        <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   316
          <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   317
            <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   318
              <xsl:text>#</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   319
              <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   320
            </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   321
            <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   322
          </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   323
        </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   324
      </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   325
    </ul>    
489c9b5090e2 Initial load
duke
parents:
diff changeset
   326
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   327
  <xsl:apply-templates select="intro|typedef|uniontypedef|capabilitiestypedef"/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   328
  <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   329
  <xsl:apply-templates select="function[count(@hide)=0]|callback" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   330
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   331
489c9b5090e2 Initial load
duke
parents:
diff changeset
   332
<xsl:template match="function" mode="body">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   333
  <hr class="thin">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   334
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   335
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   336
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   337
    
489c9b5090e2 Initial load
duke
parents:
diff changeset
   338
  </hr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   339
  <xsl:apply-templates select="synopsis" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   340
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   341
    <xsl:apply-templates select="typedef" mode="code"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   342
    <xsl:apply-templates select="descendant::constants[@kind='enum']" mode="signature"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   343
    <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   344
      <xsl:text>jvmtiError
489c9b5090e2 Initial load
duke
parents:
diff changeset
   345
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   346
      <xsl:value-of select="@id"/>(jvmtiEnv* env<xsl:apply-templates select="parameters" mode="signature"/>)</pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   347
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   348
  <xsl:apply-templates select="description"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   349
  <xsl:apply-templates select="." mode="generalinfo"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   350
  <xsl:apply-templates select="capabilities|eventcapabilities"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   351
  <xsl:apply-templates select="typedef" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   352
  <xsl:apply-templates select="parameters" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   353
  <xsl:apply-templates select="." mode="errors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   354
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   355
489c9b5090e2 Initial load
duke
parents:
diff changeset
   356
<xsl:template match="function" mode="generalinfo">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   357
  <table class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   358
     <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   359
      <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
   360
        <a href="#jvmtiPhase">Phase</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   361
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   362
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   363
        <a href="#heapCallbacks">Callback Safe</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   364
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   365
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   366
        <a href="#FunctionTable">Position</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   367
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   368
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   369
        <a href="#ChangeHistory">Since</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   370
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   371
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   372
    <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   373
      <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
   374
        <xsl:apply-templates select="." mode="phaseinfo"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   375
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   376
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   377
        <xsl:apply-templates select="." mode="callbacksafeinfo"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   378
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   379
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   380
        <xsl:value-of select="@num"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   381
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   382
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   383
        <xsl:value-of select="@since"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   384
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   385
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   386
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   387
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   388
489c9b5090e2 Initial load
duke
parents:
diff changeset
   389
<xsl:template match="event" mode="generalinfo">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   390
  <table class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   391
    <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   392
      <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
   393
        <a href="#jvmtiPhase">Phase</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   394
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   395
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   396
        <a href="#jvmtiEvent">Event Type</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   397
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   398
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   399
        <a href="#jvmtiEvent">Number</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   400
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   401
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   402
        <a href="#enablingevents">Enabling</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   403
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   404
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   405
        <a href="#ChangeHistory">Since</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   406
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   407
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   408
    <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   409
      <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
   410
        <xsl:apply-templates select="." mode="phaseinfo"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   411
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   412
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   413
        <code><xsl:value-of select="@const"/></code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   414
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   415
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   416
        <xsl:value-of select="@num"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   417
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   418
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   419
          <code><a href="#SetEventNotificationMode">SetEventNotificationMode</a>(JVMTI_ENABLE, 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   420
          <xsl:value-of select="@const"/>, NULL)</code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   421
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   422
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   423
        <xsl:value-of select="@since"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   424
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   425
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   426
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   427
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   428
489c9b5090e2 Initial load
duke
parents:
diff changeset
   429
<xsl:template match="function" mode="phaseinfo">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   430
  may
489c9b5090e2 Initial load
duke
parents:
diff changeset
   431
  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   432
    <xsl:when test="count(@phase) = 0 or @phase = 'live'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   433
      only be called during the live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   434
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   435
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   436
      <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   437
        <xsl:when test="@phase = 'onload'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   438
          only be called during the OnLoad or the live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   439
        </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   440
        <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   441
          <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   442
            <xsl:when test="@phase = 'any'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   443
              be called during any
489c9b5090e2 Initial load
duke
parents:
diff changeset
   444
            </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   445
            <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   446
              <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   447
                <xsl:when test="@phase = 'start'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   448
                  only be called during the start or the live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   449
                </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   450
                <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   451
                  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   452
                    <xsl:when test="@phase = 'onloadOnly'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   453
                      only be called during the OnLoad
489c9b5090e2 Initial load
duke
parents:
diff changeset
   454
                    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   455
                    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   456
                      <xsl:message terminate="yes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   457
                        bad phase - <xsl:value-of select="@phase"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   458
                      </xsl:message>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   459
                    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   460
                  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   461
                </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   462
            </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   463
            </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   464
          </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   465
        </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   466
      </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   467
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   468
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   469
  phase
489c9b5090e2 Initial load
duke
parents:
diff changeset
   470
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   471
489c9b5090e2 Initial load
duke
parents:
diff changeset
   472
489c9b5090e2 Initial load
duke
parents:
diff changeset
   473
<xsl:template match="event" mode="phaseinfo">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   474
  sent
489c9b5090e2 Initial load
duke
parents:
diff changeset
   475
  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   476
    <xsl:when test="count(@phase) = 0 or @phase = 'live'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   477
      only during the live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   478
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   479
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   480
      <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   481
        <xsl:when test="@phase = 'any'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   482
          during the primordial, start or live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   483
        </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   484
        <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   485
          <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   486
            <xsl:when test="@phase = 'start'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   487
              during the start or live
489c9b5090e2 Initial load
duke
parents:
diff changeset
   488
            </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   489
            <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   490
              <xsl:message terminate="yes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   491
                bad phase - <xsl:value-of select="@phase"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   492
              </xsl:message>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   493
            </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   494
          </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   495
        </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   496
      </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   497
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   498
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   499
  phase
489c9b5090e2 Initial load
duke
parents:
diff changeset
   500
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   501
489c9b5090e2 Initial load
duke
parents:
diff changeset
   502
489c9b5090e2 Initial load
duke
parents:
diff changeset
   503
<xsl:template match="function" mode="callbacksafeinfo">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   504
  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   505
    <xsl:when test="contains(@callbacksafe,'safe')">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   506
    This function may be called from the callbacks to the
489c9b5090e2 Initial load
duke
parents:
diff changeset
   507
    <a href="#Heap">Heap</a> iteration functions, or from the
489c9b5090e2 Initial load
duke
parents:
diff changeset
   508
    event handlers for the 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   509
    <a href="#GarbageCollectionStart"><code>GarbageCollectionStart</code></a>,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   510
    <a href="#GarbageCollectionFinish"><code>GarbageCollectionFinish</code></a>,
489c9b5090e2 Initial load
duke
parents:
diff changeset
   511
    and <a href="#ObjectFree"><code>ObjectFree</code></a> events.
489c9b5090e2 Initial load
duke
parents:
diff changeset
   512
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   513
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   514
      No
489c9b5090e2 Initial load
duke
parents:
diff changeset
   515
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   516
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   517
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   518
489c9b5090e2 Initial load
duke
parents:
diff changeset
   519
489c9b5090e2 Initial load
duke
parents:
diff changeset
   520
<xsl:template match="callback" mode="body">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   521
  <hr class="thin">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   522
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   523
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   524
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   525
  </hr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   526
  <xsl:apply-templates select="synopsis" mode="body"/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   527
  <div class="callbackCtnr">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   528
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   529
    <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   530
      <xsl:text>typedef </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   531
      <xsl:apply-templates select="child::*[position()=1]" mode="signature"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   532
      <xsl:text> (JNICALL *</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   533
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   534
      <xsl:text>)
489c9b5090e2 Initial load
duke
parents:
diff changeset
   535
    (</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   536
      <xsl:for-each select="parameters">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   537
        <xsl:apply-templates select="param[position()=1]" mode="signature"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   538
        <xsl:for-each select="param[position()>1]">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   539
          <xsl:text>, 
489c9b5090e2 Initial load
duke
parents:
diff changeset
   540
     </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   541
          <xsl:apply-templates select="." mode="signature"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   542
        </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   543
      </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   544
      <xsl:text>);</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   545
    </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   546
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   547
  <xsl:apply-templates select="description"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   548
  <xsl:apply-templates select="parameters" mode="body"/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   549
  </div>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   550
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   551
489c9b5090e2 Initial load
duke
parents:
diff changeset
   552
<xsl:template match="synopsis" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   553
  <h3><xsl:value-of select="."/></h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   554
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   555
489c9b5090e2 Initial load
duke
parents:
diff changeset
   556
<xsl:template match="eventsection">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   557
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   558
  <hr class="thick"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   559
  <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   560
    <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   561
  </h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   562
  <xsl:apply-templates select="intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   563
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   564
  <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   565
  <xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   566
typedef struct {
489c9b5090e2 Initial load
duke
parents:
diff changeset
   567
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   568
  <xsl:call-template name="eventStruct">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   569
    <xsl:with-param name="events" select="event"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   570
    <xsl:with-param name="index" select="0"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   571
    <xsl:with-param name="started" select="false"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   572
    <xsl:with-param name="comment" select="'No'"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   573
  </xsl:call-template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   574
  <xsl:text>} jvmtiEventCallbacks;
489c9b5090e2 Initial load
duke
parents:
diff changeset
   575
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   576
  </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   577
  </blockquote>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   578
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   579
  <hr class="thin"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   580
  <h3 id="EventIndex">Event Index</h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   581
  <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   582
    <xsl:apply-templates select="event" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   583
      <xsl:sort select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   584
    </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   585
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   586
  <xsl:apply-templates select="event" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   587
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   588
489c9b5090e2 Initial load
duke
parents:
diff changeset
   589
<xsl:template match="event" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   590
  <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   591
    <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   592
      <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   593
      <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   594
        <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   595
      </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   596
    </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   597
  </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   598
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   599
489c9b5090e2 Initial load
duke
parents:
diff changeset
   600
<xsl:template match="event" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   601
  <p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   602
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   603
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   604
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   605
  </p>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   606
  <hr class="thick"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   607
  <h2><xsl:value-of select="@label"/></h2>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   608
  <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   609
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   610
    <xsl:apply-templates select="typedef" mode="code"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   611
    <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   612
<xsl:text>void JNICALL
489c9b5090e2 Initial load
duke
parents:
diff changeset
   613
</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   614
      <xsl:value-of select="@id"/>(jvmtiEnv *jvmti_env<xsl:apply-templates select="parameters" mode="signature"/>)</pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   615
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   616
  <xsl:apply-templates select="description"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   617
  <xsl:apply-templates select="." mode="generalinfo"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   618
  <xsl:apply-templates select="typedef" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   619
  <xsl:apply-templates select="capabilities"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   620
  <xsl:apply-templates select="parameters" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   621
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   622
489c9b5090e2 Initial load
duke
parents:
diff changeset
   623
<xsl:template match="capabilitiestypedef" mode="code">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   624
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   625
    <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   626
      <xsl:apply-templates select="." mode="genstruct"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   627
    </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   628
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   629
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   630
489c9b5090e2 Initial load
duke
parents:
diff changeset
   631
<xsl:template match="typedef" mode="code">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   632
  <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   633
  <xsl:call-template name="gentypedef">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   634
    <xsl:with-param name="tdef" select="."/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   635
  </xsl:call-template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   636
  </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   637
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   638
489c9b5090e2 Initial load
duke
parents:
diff changeset
   639
<xsl:template match="uniontypedef" mode="code">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   640
  <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   641
  <xsl:call-template name="genuniontypedef">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   642
    <xsl:with-param name="tdef" select="."/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   643
  </xsl:call-template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   644
  </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   645
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   646
489c9b5090e2 Initial load
duke
parents:
diff changeset
   647
<xsl:template match="capabilitiestypedef|typedef|uniontypedef" mode="description">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   648
  <xsl:apply-templates select="description"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   649
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   650
489c9b5090e2 Initial load
duke
parents:
diff changeset
   651
<xsl:template match="capabilitiestypedef|typedef|uniontypedef">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   652
  <h4>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   653
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   654
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   655
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   656
    <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   657
  </h4>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   658
  <xsl:apply-templates select="." mode="description"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   659
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   660
    <xsl:apply-templates select="." mode="code"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   661
    <xsl:apply-templates select="." mode="justbody"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   662
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   663
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   664
489c9b5090e2 Initial load
duke
parents:
diff changeset
   665
<xsl:template match="constants" mode="signature">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   666
  <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   667
  <xsl:apply-templates select="." mode="enum"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   668
  </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   669
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   670
489c9b5090e2 Initial load
duke
parents:
diff changeset
   671
<xsl:template match="typedef|uniontypedef" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   672
  <p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   673
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   674
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   675
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   676
  </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   677
  <xsl:apply-templates select="." mode="justbody"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   678
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   679
489c9b5090e2 Initial load
duke
parents:
diff changeset
   680
<xsl:template match="typedef|uniontypedef" mode="justbody">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   681
    <table class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   682
      <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   683
        <td colspan="3" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   684
          <code><xsl:value-of select="@id"/></code> - <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   685
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   686
      </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   687
      <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   688
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   689
          Field
489c9b5090e2 Initial load
duke
parents:
diff changeset
   690
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   691
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   692
          Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
   693
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   694
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   695
          Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
   696
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   697
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   698
      <xsl:apply-templates select="field" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   699
    </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   700
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   701
489c9b5090e2 Initial load
duke
parents:
diff changeset
   702
<xsl:template match="capabilitiestypedef" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   703
  <p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   704
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   705
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   706
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   707
  </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   708
  <xsl:apply-templates select="." mode="justbody"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   709
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   710
489c9b5090e2 Initial load
duke
parents:
diff changeset
   711
<xsl:template match="capabilitiestypedef" mode="justbody">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   712
    <table class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   713
      <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   714
        <td colspan="3" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   715
          <code><xsl:value-of select="@id"/></code> - <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   716
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   717
      </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   718
      <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   719
        <td colspan="3">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   720
          All types are <code>unsigned int : 1</code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   721
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   722
      </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   723
      <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   724
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   725
          Field
489c9b5090e2 Initial load
duke
parents:
diff changeset
   726
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   727
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   728
          Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
   729
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   730
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   731
          <a href="#ChangeHistory">Since</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   732
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   733
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   734
      <xsl:apply-templates select="capabilityfield" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   735
    </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   736
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   737
489c9b5090e2 Initial load
duke
parents:
diff changeset
   738
<xsl:template match="typedef|uniontypedef|capabilitiestypedef|constants" mode="tableentry">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   739
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   740
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   741
      <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   742
        <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   743
          <xsl:text>#</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   744
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   745
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   746
        <code><xsl:value-of select="@id"/></code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   747
      </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   748
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   749
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   750
      <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   751
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   752
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   753
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   754
489c9b5090e2 Initial load
duke
parents:
diff changeset
   755
<xsl:template match="field" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   756
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   757
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   758
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   759
        <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   760
          <xsl:value-of select="../@id"/>.<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   761
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   762
        <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   763
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   764
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   765
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   766
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   767
        <xsl:apply-templates select="child::*[position()=1]" mode="link"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   768
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   769
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   770
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   771
      <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   772
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   773
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   774
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   775
489c9b5090e2 Initial load
duke
parents:
diff changeset
   776
<xsl:template match="capabilityfield" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   777
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   778
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   779
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   780
        <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   781
          <xsl:when test="@disp1!=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   782
            <xsl:value-of select="@disp1"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   783
            <br></br>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   784
            <xsl:value-of select="@disp2"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   785
          </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   786
          <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   787
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   788
          </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   789
        </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   790
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   791
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   792
    <td>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   793
      <xsl:attribute name="id">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   794
        <xsl:value-of select="../@id"/>.<xsl:value-of select="@id"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   795
      </xsl:attribute>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   796
      <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   797
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   798
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   799
      <xsl:value-of select="@since"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   800
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   801
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   802
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   803
489c9b5090e2 Initial load
duke
parents:
diff changeset
   804
<xsl:template match="callback" mode="tableentry">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   805
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   806
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   807
      <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   808
        <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   809
          <xsl:text>#</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   810
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   811
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   812
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   813
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   814
        </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   815
      </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   816
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   817
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   818
      <xsl:apply-templates select="synopsis" mode="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   819
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   820
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   821
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   822
489c9b5090e2 Initial load
duke
parents:
diff changeset
   823
<xsl:template match="constants">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   824
  <blockquote>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   825
    <table class="bordered">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   826
      <xsl:attribute name="id">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   827
        <xsl:value-of select="@id"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   828
      </xsl:attribute>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   829
      <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   830
        <td colspan="3" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   831
            <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   832
            <xsl:if test="@kind='enum'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   833
              <xsl:text> (</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   834
              <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   835
                <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   836
              </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   837
              <xsl:text>)</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   838
            </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   839
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   840
      </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   841
      <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   842
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   843
          Constant
489c9b5090e2 Initial load
duke
parents:
diff changeset
   844
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   845
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   846
          Value
489c9b5090e2 Initial load
duke
parents:
diff changeset
   847
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   848
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   849
          Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
   850
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   851
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   852
      <xsl:apply-templates select="constant" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   853
    </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   854
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   855
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   856
489c9b5090e2 Initial load
duke
parents:
diff changeset
   857
<xsl:template match="constant" mode="index">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   858
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   859
    <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   860
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   861
    <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   862
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   863
    </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   864
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   865
  <br/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   866
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   867
489c9b5090e2 Initial load
duke
parents:
diff changeset
   868
<xsl:template match="constant" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   869
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   870
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   871
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   872
        <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   873
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   874
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   875
        <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   876
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   877
    </td>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   878
    <td class="rightAligned">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   879
      <xsl:value-of select="@num"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   880
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   881
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   882
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   883
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   884
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   885
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   886
489c9b5090e2 Initial load
duke
parents:
diff changeset
   887
<xsl:template match="basetypes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   888
  <p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   889
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   890
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   891
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   892
  </p>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   893
    <table class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   894
      <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   895
        <td colspan="2" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   896
          <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   897
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   898
      </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   899
      <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   900
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   901
          Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
   902
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   903
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   904
          Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
   905
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   906
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   907
      <xsl:apply-templates select="basetype" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   908
    </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   909
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   910
489c9b5090e2 Initial load
duke
parents:
diff changeset
   911
<xsl:template match="basetype" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   912
  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   913
    <xsl:when test="count(definition)=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   914
      <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   915
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   916
          <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   917
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   918
          </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   919
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   920
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   921
          <a>
46977
9e8d0f0de00e 8185687: Fix minor bugs in jvmti specification
sspitsyn
parents: 46734
diff changeset
   922
            <xsl:attribute name="id">
9e8d0f0de00e 8185687: Fix minor bugs in jvmti specification
sspitsyn
parents: 46734
diff changeset
   923
              <xsl:choose>
9e8d0f0de00e 8185687: Fix minor bugs in jvmti specification
sspitsyn
parents: 46734
diff changeset
   924
                <xsl:when test="count(@name)=1">
9e8d0f0de00e 8185687: Fix minor bugs in jvmti specification
sspitsyn
parents: 46734
diff changeset
   925
                  <xsl:value-of select="@name"/>
9e8d0f0de00e 8185687: Fix minor bugs in jvmti specification
sspitsyn
parents: 46734
diff changeset
   926
                </xsl:when>
9e8d0f0de00e 8185687: Fix minor bugs in jvmti specification
sspitsyn
parents: 46734
diff changeset
   927
                <xsl:otherwise>
9e8d0f0de00e 8185687: Fix minor bugs in jvmti specification
sspitsyn
parents: 46734
diff changeset
   928
                  <xsl:value-of select="@id"/>
9e8d0f0de00e 8185687: Fix minor bugs in jvmti specification
sspitsyn
parents: 46734
diff changeset
   929
                </xsl:otherwise>
9e8d0f0de00e 8185687: Fix minor bugs in jvmti specification
sspitsyn
parents: 46734
diff changeset
   930
              </xsl:choose>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   931
            </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   932
          </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   933
          <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   934
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   935
      </tr>      
489c9b5090e2 Initial load
duke
parents:
diff changeset
   936
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   937
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   938
      <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   939
        <td rowspan="2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   940
          <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   941
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   942
          </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   943
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   944
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   945
          <a>
46977
9e8d0f0de00e 8185687: Fix minor bugs in jvmti specification
sspitsyn
parents: 46734
diff changeset
   946
            <xsl:attribute name="id">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   947
              <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   948
            </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   949
          </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   950
          <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   951
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   952
      </tr>      
489c9b5090e2 Initial load
duke
parents:
diff changeset
   953
      <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   954
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   955
          <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   956
            <xsl:apply-templates select="definition"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   957
          </pre>          
489c9b5090e2 Initial load
duke
parents:
diff changeset
   958
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   959
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   960
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   961
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   962
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   963
489c9b5090e2 Initial load
duke
parents:
diff changeset
   964
<xsl:template match="description">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   965
  <xsl:apply-templates/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
   966
  <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
   967
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   968
489c9b5090e2 Initial load
duke
parents:
diff changeset
   969
<xsl:template match="description" mode="brief">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   970
  <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   971
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   972
489c9b5090e2 Initial load
duke
parents:
diff changeset
   973
<xsl:template match="fieldlink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   974
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   975
    <xsl:attribute name="href">#<xsl:value-of select="@struct"/>.<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   976
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   977
      <xsl:when test=".=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   978
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   979
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   980
        </code>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
   981
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   982
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   983
        <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   984
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   985
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   986
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   987
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   988
489c9b5090e2 Initial load
duke
parents:
diff changeset
   989
<xsl:template match="paramlink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   990
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   991
    <xsl:attribute name="href">#<xsl:value-of select="ancestor::function/@id|ancestor::event/@id"/>.<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   992
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   993
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   994
      <xsl:when test=".=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
   995
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   996
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   997
        </code>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
   998
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
   999
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1000
        <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1001
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1002
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1003
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1004
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1005
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1006
<xsl:template match="eventlink|errorlink|typelink|datalink|functionlink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1007
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1008
    <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1009
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1010
      <xsl:when test=".=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1011
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1012
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1013
        </code>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1014
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1015
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1016
        <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1017
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1018
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1019
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1020
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1021
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1022
<xsl:template match="functionphaselist">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1023
  <xsl:variable name="phase" select="@phase"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1024
  <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1025
    <xsl:for-each select="/specification/functionsection/category/function[@phase=$phase and count(@hide)=0]">   
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1026
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1027
        <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1028
          <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1029
          <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1030
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1031
          </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1032
        </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1033
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1034
    </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1035
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1036
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1037
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1038
<xsl:template match="eventphaselist">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1039
  <xsl:variable name="phase" select="@phase"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1040
  <ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1041
    <xsl:for-each select="//eventsection/event[@phase=$phase]">   
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1042
      <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1043
        <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1044
          <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1045
          <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1046
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1047
          </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1048
        </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1049
      </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1050
    </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1051
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1052
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1053
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1054
<xsl:template match="externallink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1055
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1056
    <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1057
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1058
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1059
    <xsl:value-of select="."/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1060
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1061
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1062
9431
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1063
<xsl:template match="vmspec">
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1064
  <cite>
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1065
    <xsl:text>The Java&#8482; Virtual Machine Specification</xsl:text>
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1066
    <xsl:if test="count(@chapter)=1">
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1067
      <xsl:text>, Chapter </xsl:text> 
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1068
      <xsl:value-of select="@chapter"/>
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1069
    </xsl:if>
e3bea7d56a98 7033669: JVM TI spec has to be changed to not contain URLS to the VM Spec
kamg
parents: 5547
diff changeset
  1070
  </cite>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1071
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1072
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1073
<xsl:template match="internallink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1074
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1075
    <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1076
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1077
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1078
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1079
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1080
<xsl:template match="parameters" mode="body">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1081
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1082
  <table class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1083
    <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1084
      <td colspan="3" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1085
        Parameters
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1086
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1087
    </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1088
    <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1089
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1090
        Name
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1091
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1092
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1093
        Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1094
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1095
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1096
        Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1097
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1098
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1099
    <xsl:apply-templates select="param[count(jclass/@method)=0]" mode="body"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1100
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1101
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1102
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1103
<xsl:template match="param" mode="body">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1104
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1105
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1106
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1107
        <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1108
          <xsl:value-of select="../../@id"/>.<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1109
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1110
        <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1111
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1112
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1113
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1114
      <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1115
        <xsl:apply-templates select="child::*[position()=1]" mode="link"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1116
      </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1117
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1118
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1119
      <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1120
      <xsl:if test="count(ancestor::function)=1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1121
        <xsl:apply-templates select="child::*[position()=1]" mode="funcdescription"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1122
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1123
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1124
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1125
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1126
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1127
<xsl:template match="capabilities">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1128
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1129
  <!--
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1130
  W3C Validator reports error if all cells has colspan==2.
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1131
  The workaround is to detect the case and set colspan = 1 for all cells
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1132
  which fills the entire row.
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1133
  -->
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1134
  <xsl:variable name="fullRowColspan">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1135
    <xsl:choose>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1136
      <xsl:when test="count(required)!=0 or count(capability)!=0">2</xsl:when>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1137
      <xsl:otherwise>1</xsl:otherwise>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1138
    </xsl:choose>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1139
  </xsl:variable>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1140
  <table class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1141
    <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1142
      <td colspan="{$fullRowColspan}" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1143
        Capabilities
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1144
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1145
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1146
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1147
      <xsl:when test="count(required)=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1148
        <tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1149
          <td colspan="{$fullRowColspan}">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1150
            <b>Required Functionality</b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1151
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1152
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1153
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1154
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1155
        <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1156
          <td colspan="2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1157
            <b>Optional Functionality:</b> might not be implemented for all
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1158
            virtual machines. 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1159
            <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1160
              <xsl:when test="count(required)=1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1161
                The following capability 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1162
              </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1163
              <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1164
                One of the following capabilities
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1165
              </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1166
            </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1167
            (as returned by 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1168
            <a href="#GetCapabilities"><code>GetCapabilities</code></a>)
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1169
            must be true to use this      
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1170
            <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1171
              <xsl:when test="ancestor::function">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1172
                function.
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1173
              </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1174
              <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1175
                event.
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1176
              </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1177
            </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1178
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1179
        </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1180
        <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1181
          <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1182
            Capability
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1183
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1184
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1185
            Effect
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1186
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1187
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1188
        <xsl:apply-templates select="required"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1189
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1190
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1191
    <xsl:if test="count(capability)!=0">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1192
      <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1193
        <td colspan="{$fullRowColspan}" class="centered">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1194
          Optional Features
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1195
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1196
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1197
      <xsl:if test="count(required)=0">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1198
        <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1199
          <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1200
            Capability
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1201
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1202
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1203
            Effect
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1204
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1205
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1206
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1207
      <xsl:apply-templates select="capability"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1208
    </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1209
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1210
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1211
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1212
<xsl:template match="eventcapabilities">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1213
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1214
  <table class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1215
    <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1216
      <td colspan="2" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1217
        Capabilities
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1218
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1219
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1220
    <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1221
      <td colspan="2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1222
        <b>Required Functionality</b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1223
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1224
    </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1225
    <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1226
      <td colspan="2" class="centered">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1227
        Event Enabling Capabilities
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1228
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1229
    </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1230
    <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1231
      <td >
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1232
        Capability
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1233
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1234
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1235
        Events
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1236
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1237
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1238
    <xsl:for-each select="//capabilityfield">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1239
      <xsl:variable name="capa" select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1240
      <xsl:variable name="events" select="//event[capabilities/required/@id=$capa]"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1241
      <xsl:if test="count($events)">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1242
        <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1243
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1244
            <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1245
              <xsl:attribute name="href">#jvmtiCapabilities.<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1246
              </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1247
              <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1248
                <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1249
              </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1250
            </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1251
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1252
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1253
            <xsl:for-each select="$events">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1254
              <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1255
                <xsl:attribute name="href">#<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1256
                </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1257
                <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1258
                  <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1259
                </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1260
              </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1261
              <br/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1262
            </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1263
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1264
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1265
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1266
    </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1267
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1268
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1269
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1270
<xsl:template match="capability|required">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1271
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1272
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1273
      <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1274
        <xsl:attribute name="href">#jvmtiCapabilities.<xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1275
        </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1276
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1277
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1278
        </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1279
      </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1280
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1281
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1282
      <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1283
        <xsl:when test=".=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1284
          <xsl:variable name="desiredID" select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1285
          <xsl:for-each select="//capabilityfield[@id=$desiredID]">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1286
            <xsl:apply-templates select="description" mode="brief"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1287
          </xsl:for-each>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1288
        </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1289
        <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1290
          <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1291
        </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1292
      </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1293
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1294
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1295
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1296
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1297
<xsl:template match="function" mode="errors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1298
  <xsl:variable name="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1299
    <xsl:apply-templates select="capabilities/required" mode="haserrors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1300
    <xsl:apply-templates select="errors/error" mode="haserrors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1301
    <xsl:apply-templates select="parameters/param" mode="haserrors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1302
  </xsl:variable>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1303
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1304
  <!--
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1305
  W3C Validator reports error if all cells has colspan==2.
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1306
  The workaround is to detect the case and set colspan = 1 for all cells
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1307
  which fills the entire row.
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1308
  -->
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1309
  <xsl:variable name="fullRowColspan">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1310
    <xsl:choose>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1311
      <xsl:when test="contains($haserrors,'yes')">2</xsl:when>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1312
      <xsl:otherwise>1</xsl:otherwise>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1313
    </xsl:choose>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1314
  </xsl:variable>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1315
  <table class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1316
    <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1317
      <td colspan="{$fullRowColspan}" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1318
        Errors
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1319
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1320
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1321
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1322
      <xsl:when test="contains($haserrors,'yes')">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1323
        <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1324
          <td colspan="2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1325
            This function returns either a 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1326
            <a href="#universal-error">universal error</a> 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1327
            or one of the following errors
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1328
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1329
        </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1330
        <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1331
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1332
            Error
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1333
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1334
          <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1335
            Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1336
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1337
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1338
        <xsl:apply-templates select="capabilities/required" mode="errors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1339
        <xsl:apply-templates select="errors/error"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1340
        <xsl:apply-templates select="parameters/param" mode="errors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1341
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1342
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1343
        <tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1344
          <td colspan="{$fullRowColspan}">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1345
            This function returns a 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1346
            <a href="#universal-error">universal error</a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1347
          </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1348
        </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1349
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1350
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1351
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1352
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1353
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1354
<xsl:template match="required" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1355
  yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1356
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1357
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1358
<xsl:template match="required" mode="errors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1359
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1360
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1361
      <a href="#JVMTI_ERROR_MUST_POSSESS_CAPABILITY">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1362
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1363
          JVMTI_ERROR_MUST_POSSESS_CAPABILITY
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1364
        </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1365
      </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1366
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1367
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1368
      The environment does not possess the capability
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1369
      <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1370
        <xsl:attribute name="href">#jvmtiCapabilities.<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1371
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1372
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1373
        </code>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1374
      </a>.
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1375
      Use <a href="#AddCapabilities"><code>AddCapabilities</code></a>.
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1376
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1377
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1378
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1379
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1380
<xsl:template match="param" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1381
  <xsl:apply-templates mode="haserrors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1382
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1383
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1384
<xsl:template match="param" mode="errors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1385
  <xsl:apply-templates select="." mode="errors1"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1386
  <xsl:apply-templates select="." mode="errors2"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1387
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1388
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1389
<xsl:template match="param" mode="errors1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1390
  <xsl:variable name="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1391
    <xsl:apply-templates mode="haserrors"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1392
  </xsl:variable>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1393
  <xsl:if test="contains($haserrors,'yes')!=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1394
    <xsl:variable name="erroridraw">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1395
      <xsl:apply-templates mode="errorid"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1396
    </xsl:variable>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1397
    <xsl:variable name="errorid" select="normalize-space($erroridraw)"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1398
    <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1399
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1400
        <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1401
          <xsl:attribute name="href">#<xsl:value-of select="$errorid"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1402
          <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1403
            <xsl:value-of select="$errorid"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1404
          </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1405
        </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1406
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1407
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1408
        <xsl:apply-templates mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1409
          <xsl:with-param name="id" select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1410
        </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1411
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1412
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1413
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1414
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1415
 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1416
<xsl:template match="param" mode="errors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1417
  <xsl:variable name="haserrors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1418
    <xsl:apply-templates mode="haserrors2"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1419
  </xsl:variable>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1420
  <xsl:if test="contains($haserrors2,'yes')!=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1421
    <xsl:variable name="erroridraw2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1422
      <xsl:apply-templates mode="errorid2"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1423
    </xsl:variable>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1424
    <xsl:variable name="errorid2" select="normalize-space($erroridraw2)"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1425
    <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1426
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1427
        <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1428
          <xsl:attribute name="href">#<xsl:value-of select="$errorid2"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1429
          <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1430
            <xsl:value-of select="$errorid2"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1431
          </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1432
        </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1433
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1434
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1435
        <xsl:apply-templates mode="errordesc2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1436
          <xsl:with-param name="id" select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1437
        </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1438
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1439
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1440
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1441
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1442
 
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1443
<xsl:template match="description" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1444
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1445
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1446
<xsl:template match="description" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1447
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1448
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1449
<xsl:template match="description" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1450
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1451
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1452
<xsl:template match="jmethodID|jfieldID|jframeID|jrawMonitorID|jthread|jthreadGroup|jobject|enum|jlocation" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1453
  yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1454
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1455
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1456
<xsl:template match="jclass" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1457
  <xsl:if test="count(@method)=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1458
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1459
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1460
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1461
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1462
<xsl:template match="description|jclass|jfieldID|jrawMonitorID|
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1463
                    jthreadGroup|jobject|enum|jlocation|jvalue|jchar|jint|jlong|jfloat|jdouble|jboolean|
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1464
                    char|uchar|size_t|void|varargs|struct|
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1465
                    ptrtype|outptr|allocbuf|allocallocbuf|inptr|inbuf|outbuf|vmbuf|agentbuf" mode="haserrors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1466
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1467
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1468
<xsl:template match="jmethodID" mode="haserrors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1469
  <xsl:if test="count(@native)=1 and contains(@native,'error')">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1470
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1471
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1472
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1473
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1474
<xsl:template match="jthread" mode="haserrors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1475
  <xsl:if test="count(@started)=0 or contains(@started,'yes') or @started=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1476
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1477
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1478
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1479
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1480
<xsl:template match="jframeID" mode="haserrors2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1481
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1482
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1483
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1484
<xsl:template match="description" mode="errorid2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1485
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1486
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1487
<xsl:template match="description" mode="errordesc2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1488
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1489
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1490
<xsl:template match="jmethodID" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1491
  <xsl:text>JVMTI_ERROR_INVALID_METHODID</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1492
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1493
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1494
<xsl:template match="jmethodID" mode="errorid2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1495
    <xsl:text>JVMTI_ERROR_NATIVE_METHOD</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1496
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1497
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1498
<xsl:template match="jmethodID" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1499
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1500
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1501
  <xsl:text> is not a jmethodID.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1502
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1503
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1504
<xsl:template match="jmethodID" mode="errordesc2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1505
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1506
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1507
  <xsl:text> is a native method.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1508
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1509
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1510
<xsl:template match="jfieldID" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1511
  <xsl:text>JVMTI_ERROR_INVALID_FIELDID</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1512
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1513
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1514
<xsl:template match="jfieldID" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1515
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1516
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1517
  <xsl:text> is not a jfieldID.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1518
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1519
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1520
<xsl:template match="jframeID" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1521
  <xsl:text>JVMTI_ERROR_ILLEGAL_ARGUMENT</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1522
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1523
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1524
<xsl:template match="jframeID" mode="errorid2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1525
  <xsl:text>JVMTI_ERROR_NO_MORE_FRAMES</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1526
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1527
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1528
<xsl:template match="jframeID" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1529
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1530
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1531
  <xsl:text> is less than zero.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1532
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1533
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1534
<xsl:template match="jframeID" mode="errordesc2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1535
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1536
  <xsl:text>There are no stack frames at the specified </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1537
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1538
  <xsl:text>.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1539
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1540
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1541
<xsl:template match="jrawMonitorID" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1542
  <xsl:text>JVMTI_ERROR_INVALID_MONITOR</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1543
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1544
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1545
<xsl:template match="jrawMonitorID" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1546
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1547
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1548
  <xsl:text> is not a jrawMonitorID.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1549
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1550
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1551
<xsl:template match="jclass" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1552
  <xsl:text>JVMTI_ERROR_INVALID_CLASS</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1553
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1554
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1555
<xsl:template match="jclass" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1556
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1557
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1558
  <xsl:text> is not a class object or the class has been unloaded.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1559
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1560
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1561
<xsl:template match="jthread" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1562
  <xsl:text>JVMTI_ERROR_INVALID_THREAD</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1563
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1564
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1565
<xsl:template match="jthread" mode="errorid2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1566
  <xsl:text>JVMTI_ERROR_THREAD_NOT_ALIVE</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1567
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1568
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1569
<xsl:template match="jthread" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1570
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1571
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1572
  <xsl:text> is not a thread object.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1573
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1574
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1575
<xsl:template match="jthread" mode="errordesc2">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1576
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1577
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1578
  <xsl:text> is not live (has not been started or is now dead).</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1579
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1580
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1581
<xsl:template match="jthreadGroup" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1582
  <xsl:text>JVMTI_ERROR_INVALID_THREAD_GROUP</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1583
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1584
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1585
<xsl:template match="jthreadGroup" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1586
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1587
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1588
  <xsl:text> is not a thread group object.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1589
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1590
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1591
<xsl:template match="jobject" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1592
  <xsl:text>JVMTI_ERROR_INVALID_OBJECT</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1593
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1594
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1595
<xsl:template match="jobject" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1596
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1597
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1598
  <xsl:text> is not an object.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1599
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1600
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1601
<xsl:template match="enum" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1602
  <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1603
    <xsl:when test=".='jvmtiEvent'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1604
      <xsl:text>JVMTI_ERROR_INVALID_EVENT_TYPE</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1605
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1606
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1607
      <xsl:text>JVMTI_ERROR_ILLEGAL_ARGUMENT</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1608
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1609
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1610
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1611
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1612
<xsl:template match="enum" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1613
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1614
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1615
  <xsl:text> is not a </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1616
  <xsl:value-of select="."/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1617
  <xsl:text>.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1618
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1619
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1620
<xsl:template match="jlocation" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1621
  <xsl:text>JVMTI_ERROR_INVALID_LOCATION</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1622
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1623
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1624
<xsl:template match="jlocation" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1625
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1626
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1627
  <xsl:text> is not a valid location.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1628
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1629
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1630
<xsl:template match="jint" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1631
  <xsl:if test="count(@min)=1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1632
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1633
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1634
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1635
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1636
<xsl:template match="jint" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1637
  <xsl:text>JVMTI_ERROR_ILLEGAL_ARGUMENT</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1638
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1639
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1640
<xsl:template match="jint" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1641
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1642
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1643
  <xsl:text> is less than </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1644
  <code><xsl:value-of select="@min"/></code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1645
  <xsl:text>.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1646
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1647
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1648
<xsl:template match="jvalue|jchar|jlong|jfloat|jdouble|jboolean|char|uchar|size_t|void|varargs|struct" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1649
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1650
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1651
<xsl:template match="jvalue|jchar|jlong|jfloat|jdouble|jboolean|char|uchar|size_t|void|varargs|struct" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1652
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1653
  <xsl:message terminate="yes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1654
    attempt to get error description for <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1655
  </xsl:message>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1656
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1657
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1658
<xsl:template match="ptrtype|outptr|allocbuf|allocallocbuf|inptr|inbuf|outbuf|vmbuf|agentbuf" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1659
  <xsl:if test="count(nullok)=0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1660
    yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1661
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1662
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1663
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1664
<xsl:template match="ptrtype|outptr|allocbuf|allocallocbuf|inptr|inbuf|outbuf|vmbuf|agentbuf" mode="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1665
  <xsl:text>JVMTI_ERROR_NULL_POINTER</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1666
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1667
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1668
<xsl:template match="ptrtype|outptr|allocbuf|allocallocbuf|inptr|inbuf|outbuf|vmbuf|agentbuf" mode="errordesc">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1669
  <xsl:param name="id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1670
  <xsl:if test="count(nullok)=1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1671
    <xsl:message terminate="yes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1672
      attempt to get error description in null ok case for <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1673
    </xsl:message>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1674
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1675
  <xsl:apply-templates select="." mode="paramlink"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1676
  <xsl:text> is </xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1677
  <code>NULL</code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1678
  <xsl:text>.</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1679
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1680
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1681
<xsl:template match="jmethodID|jfieldID|jframeID|jrawMonitorID|jint|jclass|jthread|jthreadGroup|jobject|enum|jlocation|ptrtype|outptr|allocbuf|allocallocbuf|inptr|inbuf|outbuf|vmbuf|agentbuf" mode="paramlink">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1682
  <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1683
    <xsl:attribute name="href">#<xsl:value-of select="ancestor::function/@id|ancestor::event/@id"/>.<xsl:value-of select="ancestor::param/@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1684
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1685
    <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1686
      <xsl:value-of select="ancestor::param/@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1687
    </code>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1688
  </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1689
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1690
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1691
<xsl:template match="error" mode="haserrors">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1692
  yes
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1693
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1694
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1695
<xsl:template match="error">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1696
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1697
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1698
      <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1699
        <xsl:attribute name="href">#<xsl:value-of select="@id"/></xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1700
        <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1701
          <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1702
        </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1703
      </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1704
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1705
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1706
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1707
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1708
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1709
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1710
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1711
<xsl:template match="errorsection">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1712
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1713
  <hr class="thick"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1714
  <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1715
    Errors
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1716
  </h2>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1717
  <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1718
  <xsl:apply-templates select="intro"/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1719
  <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1720
  <xsl:apply-templates select="errorcategory"/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1721
  <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1722
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1723
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1724
<xsl:template match="datasection">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1725
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1726
  <hr class="thick"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1727
  <h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1728
    Data Types
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1729
  </h2>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1730
  <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1731
  <xsl:apply-templates select="intro"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1732
  <xsl:apply-templates select="basetypes"/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1733
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1734
  <table id="StructureTypeDefinitions" class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1735
    <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1736
      <td colspan="2" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1737
        Structure Type Definitions
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1738
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1739
    </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1740
    <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1741
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1742
        Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1743
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1744
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1745
        Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1746
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1747
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1748
    <xsl:apply-templates select="//typedef|//uniontypedef|//capabilitiestypedef" mode="tableentry">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1749
      <xsl:sort select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1750
    </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1751
  </table>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1752
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1753
  <table id="FunctionTypeDefinitions" class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1754
    <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1755
      <td colspan="2" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1756
        Function Type Definitions
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1757
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1758
    </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1759
    <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1760
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1761
        Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1762
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1763
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1764
        Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1765
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1766
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1767
    <xsl:apply-templates select="//callback" mode="tableentry">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1768
      <xsl:sort select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1769
    </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1770
  </table>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1771
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1772
  <table id="EnumerationDefinitions" class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1773
    <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1774
      <td colspan="2" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1775
        Enumeration Definitions
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1776
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1777
    </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1778
    <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1779
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1780
        Type
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1781
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1782
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1783
        Description
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1784
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1785
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1786
    <xsl:apply-templates select="//constants[@kind='enum']" mode="tableentry">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1787
      <xsl:sort select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1788
    </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1789
  </table>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1790
  <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1791
  <table id="FunctionTable" class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1792
    <tr class="bgDark">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1793
      <td colspan="3" class="tableHeader">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1794
        Function Table Layout
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1795
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1796
    </tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1797
    <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1798
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1799
        Position
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1800
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1801
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1802
        Function
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1803
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1804
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1805
        Declaration
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1806
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1807
    </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1808
    <xsl:call-template name="funcStruct">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1809
      <xsl:with-param name="funcs" select="//functionsection/category/function[count(@hide)=0]"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1810
      <xsl:with-param name="index" select="1"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1811
    </xsl:call-template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1812
  </table>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1813
  <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1814
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1815
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1816
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1817
<xsl:template name="funcStruct">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1818
  <xsl:param name="funcs"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1819
  <xsl:param name="index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1820
  <xsl:variable name="thisFunction" select="$funcs[@num=$index]"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1821
  <tr>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1822
    <td class="rightAligned">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1823
      <xsl:number value="$index" format="  1"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1824
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1825
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1826
      <xsl:when test="count($thisFunction)=1">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1827
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1828
          <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1829
            <xsl:attribute name="href">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1830
              <xsl:text>#</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1831
              <xsl:value-of select="$thisFunction/@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1832
            </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1833
            <xsl:value-of select="$thisFunction/synopsis"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1834
          </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1835
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1836
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1837
          <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1838
            <xsl:text>jvmtiError (JNICALL *</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1839
            <xsl:value-of select="$thisFunction/@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1840
            <xsl:text>) (jvmtiEnv* env</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1841
            <xsl:apply-templates select="$thisFunction/parameters" mode="signature">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1842
              <xsl:with-param name="comma">
36508
5f9eee6b383b 8142968: Module System implementation
alanb
parents: 9431
diff changeset
  1843
                <xsl:text>,&#xA;                       </xsl:text>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1844
              </xsl:with-param>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1845
            </xsl:apply-templates>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1846
            <xsl:text>);</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1847
        </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1848
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1849
    </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1850
    <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1851
      <xsl:if test="count($thisFunction) != 0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1852
        <xsl:message terminate="yes">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1853
          More than one function has index number <xsl:number value="$index" format="  1"/>.
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1854
      </xsl:message>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1855
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1856
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1857
        <i>reserved</i>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1858
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1859
      <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1860
        <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1861
          <xsl:text>void *reserved</xsl:text>        
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1862
          <xsl:value-of select="$index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1863
          <xsl:text>;</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1864
        </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1865
      </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1866
    </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1867
  </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1868
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1869
  <xsl:if test="count($funcs[@num &gt; $index]) &gt; 0">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1870
    <xsl:call-template name="funcStruct">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1871
      <xsl:with-param name="funcs" select="$funcs"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1872
      <xsl:with-param name="index" select="1+$index"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1873
    </xsl:call-template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1874
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1875
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1876
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1877
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1878
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1879
<xsl:template match="errorcategory">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1880
  <h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1881
    <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1882
      <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1883
    </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1884
    <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1885
  </h3>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1886
  <xsl:apply-templates select="intro"/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1887
  <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1888
  <dl>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1889
    <xsl:apply-templates select="errorid"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1890
  </dl>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1891
  <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1892
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1893
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1894
<xsl:template match="errorid">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1895
  <dt>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1896
    <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1897
      <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1898
        <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1899
      </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1900
      <xsl:value-of select="@id"/> (<xsl:value-of select="@num"/>)
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1901
    </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1902
  </dt>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1903
  <dd>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1904
    <xsl:apply-templates/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1905
    <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1906
  </dd>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1907
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1908
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1909
<xsl:template match="changehistory">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1910
    <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1911
    <hr class="thick"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1912
    <h2>Change History</h2>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1913
    Last update: <xsl:value-of select="@update"/><br/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1914
    Version: <xsl:call-template name="showversion"/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1915
    <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1916
    <xsl:apply-templates select="intro"/>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1917
    <div class="sep"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1918
    <table class="bordered wide">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  1919
      <tr class="bgLight">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1920
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1921
          <b>Version</b><br/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1922
          <b>Date</b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1923
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1924
        <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1925
          <b>Changes</b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1926
        </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1927
      </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1928
      <xsl:apply-templates select="change"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1929
    </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1930
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1931
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1932
<xsl:template match="change">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1933
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1934
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1935
      <xsl:if test="count(@version)">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1936
        <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1937
          <xsl:value-of select="@version"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1938
        </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1939
        <br/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1940
      </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1941
      <xsl:value-of select="@date"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1942
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1943
    <td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1944
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1945
    </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1946
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1947
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1948
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1949
<xsl:template match="intro">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1950
  <xsl:if test="@id!=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1951
    <xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1952
      <xsl:when test="@label!=''">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1953
        <h4>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1954
          <xsl:attribute name="id">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1955
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1956
          </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1957
          <xsl:value-of select="@label"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1958
        </h4>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1959
      </xsl:when>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1960
      <xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1961
        <a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1962
          <xsl:attribute name="name">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1963
            <xsl:value-of select="@id"/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1964
          </xsl:attribute>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1965
        </a>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1966
      </xsl:otherwise>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1967
    </xsl:choose>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1968
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1969
  <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1970
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1971
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1972
<xsl:template match="issue">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1973
  <xsl:if test="$development = 'Show'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1974
    <p style="color: red">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1975
    To be resolved:
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1976
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1977
    </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1978
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1979
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1980
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1981
<xsl:template match="rationale">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1982
  <p style="color: purple">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1983
  Rationale:
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1984
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1985
  </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1986
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1987
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1988
<xsl:template match="todo">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1989
  <xsl:if test="$development = 'Show'">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1990
    <p style="color: green">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1991
    To do:
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1992
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1993
    </p>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1994
  </xsl:if>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1995
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1996
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1997
<xsl:template match="elide">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1998
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  1999
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2000
<xsl:template match="b">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2001
  <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2002
  <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2003
  </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2004
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2005
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2006
<xsl:template match="example">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2007
  <blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2008
    <pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2009
      <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2010
    </pre>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2011
  </blockquote>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2012
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2013
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2014
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2015
<xsl:template match="table">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2016
  <table class="bordered wide">
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2017
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2018
  </table>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2019
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2020
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2021
<xsl:template match="tr">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2022
  <tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2023
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2024
  </tr>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2025
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2026
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2027
<xsl:template match="td">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2028
  <td>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2029
    <xsl:if test="@class">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2030
      <xsl:attribute name="class">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2031
        <xsl:value-of select="@class"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2032
      </xsl:attribute>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2033
    </xsl:if>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2034
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2035
  </td>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2036
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2037
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2038
<xsl:template match="th">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2039
  <th>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2040
    <xsl:if test="@class">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2041
      <xsl:attribute name="class">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2042
        <xsl:value-of select="@class"/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2043
      </xsl:attribute>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2044
    </xsl:if>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2045
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2046
  </th>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2047
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2048
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2049
<xsl:template match="dl">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2050
  <dl>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2051
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2052
  </dl>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2053
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2054
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2055
<xsl:template match="dt">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2056
  <dt>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2057
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2058
  </dt>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2059
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2060
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2061
<xsl:template match="dd">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2062
  <dd>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2063
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2064
  </dd>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2065
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2066
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2067
<xsl:template match="blockquote">
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2068
  <blockquote>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2069
    <xsl:apply-templates/>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2070
  </blockquote>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2071
</xsl:template>
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2072
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2073
<xsl:template match="p">
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2074
  <div class="sep"/>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2075
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2076
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2077
<xsl:template match="br">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2078
  <br>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2079
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2080
  </br>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2081
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2082
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2083
<xsl:template match="ul">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2084
  <ul>
48788
a766aa4a1f07 8187447: 2081 doc issues in jvmti.html
amenkov
parents: 47216
diff changeset
  2085
    <xsl:attribute name="style">list-style-type:<xsl:value-of select="@type"/></xsl:attribute>
1
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2086
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2087
  </ul>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2088
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2089
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2090
<xsl:template match="li">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2091
  <li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2092
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2093
  </li>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2094
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2095
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2096
<xsl:template match="code">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2097
  <code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2098
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2099
  </code>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2100
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2101
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2102
<xsl:template match="tm">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2103
  <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2104
  <sup style="font-size: xx-small">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2105
    <xsl:text>TM</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2106
  </sup>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2107
  <xsl:text>&#032;</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2108
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2109
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2110
<xsl:template match="b">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2111
  <b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2112
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2113
  </b>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2114
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2115
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2116
<xsl:template match="i">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2117
  <i>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2118
    <xsl:apply-templates/>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2119
  </i>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2120
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2121
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2122
<xsl:template match="space">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2123
  <xsl:text>&#032;</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2124
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2125
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2126
<xsl:template match="jvmti">
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2127
  <xsl:text>JVM</xsl:text><small style="font-size: xx-small">&#160;</small><xsl:text>TI</xsl:text>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2128
</xsl:template>
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2129
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2130
489c9b5090e2 Initial load
duke
parents:
diff changeset
  2131
</xsl:stylesheet>