javaAbstractMethod

The <javaAbstractMethod> element is used within the MethodModifiersopt declaration to indicate that the method must be implemented in a subclass.

Description

An abstract method declaration provides the signature, but it does not provide an implementation. A possible alternative definitions of the method declaration is javaSyncronizedMethod element. Do not use the <javaAbstractMethod> element with the <javaNativeMethod>, <javaStaticMethod>, and <javaFinalMethod> elements.

Example

Click on the following link to open the Java API topic type example in
<javaMethod id="com.ibm.xtools.UML2">
   <apiName>create_input_stream</apiName>
   <shortdesc>Returns an input stream with the same buffer.</shortdesc>
   <javaMethodDetail>
     <javaMethodDef>
       <javaAbstractMethod/>
       <javaMethodAccess value="public"/>
       <javaReturn>
          <javaMethodClass href="../CORBA/InputStream.html"
               format="html" scope="external">InputStream</javaMethodClass>
          <apiDefNote>an input stream with the same buffer.</apiDefNote>
       </javaReturn>
     </javaMethodDef>
   </javaMethodDetail>
</javaMethod>

Processing Expectations

Contained by

javaMethodDef

Content model

no content

Inheritance

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