|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.flat502.rox.marshal.UnmarshallerAid com.flat502.rox.marshal.MethodCallUnmarshallerAid
public abstract class MethodCallUnmarshallerAid
An assistive interface intended to support unmarshalling.
Implementations provide additional customizations for the unmarshalling process based on an RPC method name.
HttpRpcServer.registerHandler(String, String, AsyncRequestHandler, MethodCallUnmarshallerAid)
,
HttpRpcServer.registerHandler(String, String, SyncRequestHandler, MethodCallUnmarshallerAid)
Constructor Summary | |
---|---|
MethodCallUnmarshallerAid()
|
Method Summary | |
---|---|
abstract java.lang.Class |
getType(java.lang.String methodName,
int index)
An implementation should return a Class instance representing
the type a complex parameter value (a struct or an array) at the given
index should be unmarshalled as. |
Methods inherited from class com.flat502.rox.marshal.UnmarshallerAid |
---|
getFieldNameCodec, ignoreMissingFields |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MethodCallUnmarshallerAid()
Method Detail |
---|
public abstract java.lang.Class getType(java.lang.String methodName, int index)
Class
instance representing
the type a complex parameter value (a struct or an array) at the given
index should be unmarshalled as.
A null return value will result in the parameter value being unmarshalled
into a Map
instance if, and only if, the parameter value
is an XML-RPC struct and a List
instance if, and only if,
the value is an XML-RPC array.
The returned Class
must be accessible, instantiable, and have an
accessible default constructor.
methodName
- The name of the XML-RPC method call being unmarshalled.index
- The index of the parameter value being unmarshalled.
Class
for the type the parameter value should
be unmarshalled as, assuming it is a struct or an array.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |