|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MethodCallUnmarshaller
Encapsulates the methods required to unmarshal an
RpcCall from various sources.
| Method Summary | |
|---|---|
RpcCall |
unmarshal(java.io.InputStream in,
MethodCallUnmarshallerAid aid)
Unmarshal an RpcCall instance from an InputStream. |
RpcCall |
unmarshal(java.io.Reader in,
MethodCallUnmarshallerAid aid)
Unmarshal an RpcCall instance from a Reader. |
RpcCall |
unmarshal(java.lang.String xml,
MethodCallUnmarshallerAid aid)
Unmarshal an RpcCall instance from an XML string. |
| Methods inherited from interface com.flat502.rox.marshal.MethodUnmarshaller |
|---|
getDefaultFieldNameCodec |
| Method Detail |
|---|
RpcCall unmarshal(java.io.InputStream in,
MethodCallUnmarshallerAid aid)
throws java.lang.Exception
RpcCall instance from an InputStream.
Implementations are responsible for determining the stream's character encoding (where applicable).
in - The InputStream from which to unmarshal a new
RpcCall instance.aid - A MethodCallUnmarshallerAid providing the mapping between
method parameters when unmarshalling structs. May be
null, in which case Map instances will
be used in all cases. May also override the default
FieldNameCodec.
java.lang.Exception - Implementations are free to throw exceptions.
RpcCall unmarshal(java.io.Reader in,
MethodCallUnmarshallerAid aid)
throws java.lang.Exception
RpcCall instance from a Reader.
in - The Reader from which to unmarshal a new
RpcCall instance.aid - A MethodCallUnmarshallerAid providing the mapping between
method parameters when unmarshalling structs. May be
null, in which case Map instances will
be used in all cases. May also override the default
FieldNameCodec.
java.lang.Exception - Implementations are free to throw exceptions.
RpcCall unmarshal(java.lang.String xml,
MethodCallUnmarshallerAid aid)
throws java.lang.Exception
RpcCall instance from an XML string.
xml - The XML string from which to unmarshal a new
RpcCall instance.aid - A MethodCallUnmarshallerAid providing the mapping between
method parameters when unmarshalling structs. May be
null, in which case Map instances will
be used in all cases. May also override the default
FieldNameCodec.
java.lang.Exception - Implementations are free to throw exceptions.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||