javaFieldAccess

The <javaFieldAccess> element provides within the FieldModifiersopt the elements for the variable of a class type.

Description

The variables of a class type are introduced by field declarations. The access modifiers are public, protected, and private.

Example

Click on the following link to open the Java API topic type example in
<javaField id="java.awt.Font">
   <apiName>NAME</apiName>
   <shortdesc>The logical name of this Font as it is passed to the constructor.</shortdesc>
   <javaFieldDetail>
     <javaFieldDef>
        <javaFieldAccess value="protected"/>
        <javaFieldClass href="http:">String</javaFieldClass>
     </javaFieldDef>
   </javaFieldDetail>
   <related-links>
     <link href="http://java.sun.com/../font.html#getName" format="html" scope="external">
        <linktext>getName()</linktext>
     </link>
   </related-links>
</javaField>

Processing Expectations

Contained by

javaFieldDef

Content model

no content

Inheritance

topic/state reference/state apiRef/apiQualifier apiValue/apiQualifier