|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MethodResponseUnmarshaller
Encapsulates the methods required to unmarshal an
RpcResponse
from various sources.
Method Summary | |
---|---|
RpcResponse |
unmarshal(java.io.InputStream in,
MethodResponseUnmarshallerAid aid)
Unmarshal an RpcResponse instance from an InputStream . |
RpcResponse |
unmarshal(java.io.Reader in,
MethodResponseUnmarshallerAid aid)
Unmarshal an RpcResponse instance from a Reader . |
RpcResponse |
unmarshal(java.lang.String xml,
MethodResponseUnmarshallerAid aid)
Unmarshal an RpcResponse instance from an XML string. |
Methods inherited from interface com.flat502.rox.marshal.MethodUnmarshaller |
---|
getDefaultFieldNameCodec |
Method Detail |
---|
RpcResponse unmarshal(java.io.InputStream in, MethodResponseUnmarshallerAid aid) throws java.lang.Exception
RpcResponse
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
RpcResponse
instance.aid
- The MethodResponseUnmarshallerAid
to use when unmarshalling
the response. May be null
, in which internal defaults
will be used
java.lang.Exception
- Implementations are free to throw exceptions.RpcResponse unmarshal(java.io.Reader in, MethodResponseUnmarshallerAid aid) throws java.lang.Exception
RpcResponse
instance from a Reader
.
in
- The Reader
from which to unmarshal a new
RpcResponse
instance.aid
- The MethodResponseUnmarshallerAid
to use when unmarshalling
the response. May be null
, in which internal defaults
will be used
java.lang.Exception
- Implementations are free to throw exceptions.RpcResponse unmarshal(java.lang.String xml, MethodResponseUnmarshallerAid aid) throws java.lang.Exception
RpcResponse
instance from an XML string.
xml
- The XML string from which to unmarshal a new
RpcResponse
instance.aid
- The MethodResponseUnmarshallerAid
to use when unmarshalling
the response. May be null
, in which internal defaults
will be used
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 |