javaMethodAccess

The <javaMethodAccess> element within the MethodModifiersopt declarations provides the access modifiers public, protected, or private.

Description

The access modifiers of the method include the declarations for the public modifiers, such as public, protected, or private.

Example

Click on the following link to open the Java API topic type example in
<javaMethod id="com.ibm.xtools.PlugletCompiler,ExportPlugin">
   <apiName>ExportPlugin</apiName>
   <shortdesc>The constructor. [Eclipse 3.0]</shortdesc>
   <javaMethodDetail>
     <javaConstructorDef>
        <javaMethodAccess value="public"/>
     </javaConstructorDef>
     <apiDesc>Bundles have to have a default constructor. </apiDesc>
   </javaMethodDetail>
   <related-links>
     <link href="plugin.plugin.dita" scope="local">
       <linktext>Plugin.Plugin()</linktext>
     </link>
    </related-links>
</javaMethod>

Processing Expectations

Java Constructor

Contained by

javaConstructorDef, javaMethodDef

Content model

no content

Inheritance

topic/state reference/state apiRef/apiQualifier apiOperation/apiQualifier