public interface MarshallerFactory
Modifier and Type | Method and Description |
---|---|
Marshaller |
newMarshaller()
Returns a new marshaller.
|
UnMarshaller |
newUnMarshaller(Chunk chunk,
int read)
Returns a new unmarshaller, using the provided chunk(s) as a data source.
|
UnMarshaller |
newUnMarshaller(ChunkProvider provider)
Returns a new unmarshaller, using the provided chunk provider as a data
source.
|
Marshaller newMarshaller()
UnMarshaller newUnMarshaller(ChunkProvider provider)
provider
- a chunk provider.UnMarshaller newUnMarshaller(Chunk chunk, int read)
The read
parameters is used to initialise the number of bytes
read from the message.
chunk
- a (chain of) chunk(s)read
- the number of bytes already read from the message.