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)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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 MethodReptypes
- This is an array of parameter typesmodes
- This is an array of retrurn/parameter modes (IN, OUT, INOUT) or ParameterModeparamNames
- 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)
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)
setOverloaded
public void setOverloaded()
isOverloaded
public boolean isOverloaded()
Copyright © 2001 Apache XML Project. All Rights Reserved.