The <javaStaticMethod> element provides within the MethodModifiersopt declaration that a method is declared static.
The <javaStaticMethod> element must not be used in conjunction with the <javaAbstractMethod> element. Possible alternative definitions of the method declaration are the javaFinalMethod, javaNativeMethod, and javaSyncronizedMethod elements. The <javaStaticClass> element has the following predefined attributes: name ="static" and value ="static".
<javaMethod id="com.ibm.pluglets.getInteger"> <apiName>getInteger</apiName> <shortdesc>Determines the integer value of the system property with the specified name.</shortdesc> <javaMethodDetail> <javaMethodDef> <javaStaticMethod/> <javaMethodAccess value="public"/> <javaReturn> <javaMethodClass href="http://java.sun.com/j2se/../lang/Integer.html" format="html" scope="external">Integer</javaMethodClass> <apiDefNote>The Integer value of the property.</apiDefNote> </javaReturn> <javaParam> <javaMethodClass href="../lang/String.html" format="html" scope="external">String</javaMethodClass> <apiItemName>nm</apiItemName> <apiDefNote>property name</apiDefNote> </javaParam> </javaMethodDef> <apiDesc>Determines the integer value of the system property with the specified name. The first argument is treated as the name of a system property.</apiDesc> </javaMethodDetail> <related-links> <link href="../System.html#getProperty" format="html" scope="external"> <linktext>getProperty(java.lang.String)</linktext> </link> </related-links> </javaMethod>