Spring Web Services Framework

org.springframework.ws.stream
Interface StreamingPayload


public interface StreamingPayload

Defines the contract for payloads that can be written directly to a XMLStreamWriter.

Since:
2.0
Author:
Arjen Poutsma
See Also:
StreamingWebServiceMessage

Method Summary
 QName getName()
          Returns the qualified name of the payload.
 void writeTo(XMLStreamWriter streamWriter)
          Writes this payload to the given XMLStreamWriter.
 

Method Detail

getName

QName getName()
Returns the qualified name of the payload.

Returns:
the qualified name

writeTo

void writeTo(XMLStreamWriter streamWriter)
             throws XMLStreamException
Writes this payload to the given XMLStreamWriter.

Parameters:
streamWriter - the stream writer to write to
Throws:
XMLStreamException - in case of errors

Spring Web Services Framework

Copyright © 2005-2013 The Spring Web Services Framework. All Rights Reserved.