|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfki.util.xmlrpc.common.MethodSignature
public class MethodSignature
Defines name, parameters and return type of a XML-RPC method.
Field Summary | |
---|---|
static XmlRpc.Type[] |
NO_PARAMS
|
static XmlRpc.Type |
NO_RETURN
|
Constructor Summary | |
---|---|
|
MethodSignature(java.lang.Class<?> cls,
java.lang.String methodName)
|
protected |
MethodSignature(java.lang.reflect.Method method)
Creates a method signature based on a java method object. |
|
MethodSignature(java.lang.String name)
Deprecated. |
|
MethodSignature(java.lang.String handlerId,
MethodSignature oldSig)
Create a signature for a new handler name. |
|
MethodSignature(java.lang.String name,
XmlRpc.Type paramType)
Deprecated. |
|
MethodSignature(java.lang.String name,
XmlRpc.Type[] paramTypes)
Deprecated. |
|
MethodSignature(java.lang.String name,
XmlRpc.Type[] paramTypes,
XmlRpc.Type returnType)
Deprecated. |
|
MethodSignature(java.lang.String name,
XmlRpc.Type paramType,
XmlRpc.Type returnType)
Deprecated. |
Method Summary | |
---|---|
static MethodSignature |
createFromMethod(java.lang.reflect.Method m)
Creates a method signature based on a java method object. |
java.lang.reflect.Method |
getMethod(java.lang.Class<?> cls,
java.lang.String methodName)
|
java.lang.String |
getName()
|
ApiParameter |
getParameterAt(int pos)
|
int |
getParameterCount()
|
protected ApiParameter[] |
getParametersFromMethod(java.lang.reflect.Method m)
|
protected ApiParameter[] |
getParametersFromXmlRpcTypes(XmlRpc.Type[] types)
Deprecated. |
ApiParameter |
getReturnParameter()
|
ApiParameter |
getReturnParameterFromMethod(java.lang.reflect.Method method)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final XmlRpc.Type[] NO_PARAMS
public static final XmlRpc.Type NO_RETURN
Constructor Detail |
---|
public MethodSignature(java.lang.String handlerId, MethodSignature oldSig)
handlerId
- new handler name.oldSig
- old signature with parameters to be copied.@Deprecated public MethodSignature(java.lang.String name, XmlRpc.Type[] paramTypes, XmlRpc.Type returnType)
@Deprecated public MethodSignature(java.lang.String name, XmlRpc.Type paramType, XmlRpc.Type returnType)
@Deprecated public MethodSignature(java.lang.String name, XmlRpc.Type paramType)
@Deprecated public MethodSignature(java.lang.String name, XmlRpc.Type[] paramTypes)
@Deprecated public MethodSignature(java.lang.String name)
public MethodSignature(java.lang.Class<?> cls, java.lang.String methodName)
protected MethodSignature(java.lang.reflect.Method method)
Method Detail |
---|
public static MethodSignature createFromMethod(java.lang.reflect.Method m)
public java.lang.reflect.Method getMethod(java.lang.Class<?> cls, java.lang.String methodName)
public ApiParameter getReturnParameterFromMethod(java.lang.reflect.Method method) throws TypeConversionException
TypeConversionException
protected ApiParameter[] getParametersFromMethod(java.lang.reflect.Method m) throws TypeConversionException
TypeConversionException
@Deprecated protected ApiParameter[] getParametersFromXmlRpcTypes(XmlRpc.Type[] types)
public java.lang.String getName()
public ApiParameter getParameterAt(int pos)
public ApiParameter getReturnParameter()
public int getParameterCount()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |