xsul.xwsdl_compiler.xjava
Class XJavaMethod

java.lang.Object
  extended byxsul.xwsdl_compiler.xjava.XJavaMethod

public class XJavaMethod
extends java.lang.Object


Constructor Summary
XJavaMethod(XJavaClass klazz, java.lang.String name)
           
 
Method Summary
 void addArgument(java.lang.String type, java.lang.String name)
           
 void generate(java.io.PrintStream out)
           
 java.lang.String getReturnType()
          Returns method return type
 void setReturnType(java.lang.String returnType)
          Sets method return type
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XJavaMethod

public XJavaMethod(XJavaClass klazz,
                   java.lang.String name)
Method Detail

addArgument

public void addArgument(java.lang.String type,
                        java.lang.String name)

setReturnType

public void setReturnType(java.lang.String returnType)
Sets method return type


getReturnType

public java.lang.String getReturnType()
Returns method return type

Returns:
a String

generate

public void generate(java.io.PrintStream out)


IU Extreme! Lab (http://www.extreme.indiana.edu)