The <javaMethodClass> element within the ResultType declaration identifies the name of the returned class when a method, constructor, or exception returns a class.
A method declaration either specifies the type of value that the method returns or uses the keyword void to indicate that the method does not return a value. The keyref attribute must provide a unique key such as a fully qualified class name for the named API item.
<javaMethod id="com.ibm.xtools.ras.impord.engine.task.IImportEngineTask.getName"><?Pub Dtl?> <apiName>getName</apiName> <shortdesc>Retrieve the name of the task.</shortdesc> <javaMethodDetail> <javaMethodDef> <javaMethodAccess value="public"/> <javaReturn> <javaMethodClass href="http://java.sun.com/String.html" format="html" scope="external"> String</javaMethodClass> <apiDefNote>name of the task.</apiDefNote> </javaReturn> </javaMethodDef> <apiDesc>This corresponds to the name attribute defined in the importEngineTask extension point.</apiDesc> </javaMethodDetail> </javaMethod>