javaBaseClass

The <javaBaseClass> element within the Superopt declaration specifies the direct superclass of the current class.

Description

The <javaBaseClass> element is the root of the class hierarchy. Every class has the <javaBaseClass> element as a superclass. All objects, including arrays, implement the methods of this class. The keyref attribute must provide a unique key such as a fully qualified class name for the named API item.

Example

Click on the following link to open the Java API topic type example in
<javaClass id="com.ibm.xtools.umlnotation">
    <apiName>UmlnotationPlugin.Implementation</apiName>
    <shortdesc>The implementation of the Eclipse plugin.</shortdesc>
    <javaClassDetail>
	     <javaClassDef>
           <javaStaticClass/>
	         <javaClassAccess value="public"/>
           <javaBaseClass keyref=”org.eclipse.emf.common.EMFPlugin.EclipsePlugin”>
             org.eclipse.emf.common.EMFPlugin.EclipsePlugin
           </javaBaseClass>
           <javaImplementedInterface>org.osgi.framework.BundleActivator</javaImplementedInterface>
           <javaImplementedInterface keyref=”org.eclipse.core.runtime.Logger”>
               Logger
           </javaImplementedInterface>
           <javaImplementedInterface href=”../ResourceLocator.html" format=”html” scope="external">
               ResourceLocator
           </javaImplementedInterface>
    </javaClassDef>
    <section>
        <title>Enclosing class:</title>
        <xref href="umlnotation/UmlnotationPlugin.html"
            format="html" scope="local">
        UmlnotationPlugin
        </xref>
    </section>
  </javaClassDetail>
</javaClass>

Processing Expectations

Contained by

javaClassDef

Content model

(text data) (any number)

Inheritance

topic/xref reference/xref apiRef/apiRelation apiClassifier/apiBaseClassifier