org.apache.axis.wsdl.fromJava
Class MethodRep

java.lang.Object
  |
  +--org.apache.axis.wsdl.fromJava.BaseRep
        |
        +--org.apache.axis.wsdl.fromJava.MethodRep

public class MethodRep
extends BaseRep

MethodRep is the representation of a class used inside the Java2WSDL emitter. The information in the MethodRep can be changed by user provided code to affect the emitted wsdl file. (See ClassRep)

Author:
Rich Scheuerle (scheu@us.ibm.com), Brent Ulbricht

Constructor Summary
MethodRep()
          Constructor Create an empty MethodRep
MethodRep(java.lang.reflect.Method method, java.lang.Class[] types, ParameterMode[] pmodes, java.lang.String[] paramNames)
          Constructor Create a default representation of MethodRep
MethodRep(java.lang.reflect.Method method, java.lang.Class[] types, short[] modes, java.lang.String[] paramNames)
           
 
Method Summary
 java.util.Vector getExceptions()
           
 java.lang.String getName()
          Getters/Setters
 java.util.Vector getParameters()
           
 ParamRep getReturns()
           
protected  void init(java.lang.reflect.Method method, java.lang.Class[] types, short[] modes, java.lang.String[] paramNames)
           
 void setExceptions(java.util.Vector v)
           
 void setName(java.lang.String name)
           
 void setParameters(java.util.Vector v)
           
 void setReturns(ParamRep pr)
           
 
Methods inherited from class org.apache.axis.wsdl.fromJava.BaseRep
getMetaData, setMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MethodRep

public MethodRep()
Constructor Create an empty MethodRep

MethodRep

public MethodRep(java.lang.reflect.Method method,
                 java.lang.Class[] types,
                 ParameterMode[] pmodes,
                 java.lang.String[] paramNames)
Constructor Create a default representation of MethodRep
Parameters:
method - Method to use to create default MethodRep
types - This is an array of parameter types
modes - This is an array of retrurn/parameter modes (IN, OUT, INOUT) or ParameterMode
paramNames - This is an array of names to be used for the return/parameter names. If null, default names are constructed.

MethodRep

public MethodRep(java.lang.reflect.Method method,
                 java.lang.Class[] types,
                 short[] modes,
                 java.lang.String[] paramNames)
Method Detail

init

protected void init(java.lang.reflect.Method method,
                    java.lang.Class[] types,
                    short[] modes,
                    java.lang.String[] paramNames)

getName

public java.lang.String getName()
Getters/Setters

setName

public void setName(java.lang.String name)

getReturns

public ParamRep getReturns()

setReturns

public void setReturns(ParamRep pr)

getParameters

public java.util.Vector getParameters()

setParameters

public void setParameters(java.util.Vector v)

getExceptions

public java.util.Vector getExceptions()

setExceptions

public void setExceptions(java.util.Vector v)


Copyright © 2001 Apache XML Project. All Rights Reserved.