com.flat502.rox.marshal
Interface ExtendedMethodResponseUnmarshaller

All Superinterfaces:
MethodResponseUnmarshaller, MethodUnmarshaller
All Known Implementing Classes:
DomMethodResponseUnmarshaller, SaxMethodResponseUnmarshaller

public interface ExtendedMethodResponseUnmarshaller
extends MethodResponseUnmarshaller

Extends the MethodResponseUnmarshaller interface with overloaded methods that default some parameters.


Method Summary
 RpcResponse unmarshal(java.io.InputStream in)
          Unmarshal an RpcResponse instance from an InputStream.
 RpcResponse unmarshal(java.io.Reader in)
          Unmarshal an RpcResponse instance from a Reader.
 RpcResponse unmarshal(java.lang.String xml)
          Unmarshal an RpcResponse instance from an XML string.
 
Methods inherited from interface com.flat502.rox.marshal.MethodResponseUnmarshaller
unmarshal, unmarshal, unmarshal
 
Methods inherited from interface com.flat502.rox.marshal.MethodUnmarshaller
getDefaultFieldNameCodec
 

Method Detail

unmarshal

RpcResponse unmarshal(java.io.InputStream in)
                      throws java.lang.Exception
Unmarshal an RpcResponse instance from an InputStream.

Implementations are responsible for determining the stream's character encoding (where applicable).

Parameters:
in - The InputStream from which to unmarshal a new RpcResponse instance.
Returns:
A new instance of this class representing the XML structure in the given document.
Throws:
java.lang.Exception - Implementations are free to throw exceptions.

unmarshal

RpcResponse unmarshal(java.io.Reader in)
                      throws java.lang.Exception
Unmarshal an RpcResponse instance from a Reader.

Parameters:
in - The Reader from which to unmarshal a new RpcResponse instance.
Returns:
A new instance of this class representing the XML structure in the given document.
Throws:
java.lang.Exception - Implementations are free to throw exceptions.

unmarshal

RpcResponse unmarshal(java.lang.String xml)
                      throws java.lang.Exception
Unmarshal an RpcResponse instance from an XML string.

Parameters:
xml - The XML string from which to unmarshal a new RpcResponse instance.
Returns:
A new instance of this class representing the XML structure in the given document.
Throws:
java.lang.Exception - Implementations are free to throw exceptions.