org.jibx.ws.io.handler
Interface OutHandler

All Known Implementing Classes:
ContextAttributeMarshallingOutHandler, ExceptionWriter, MarshallingOutHandler

public interface OutHandler

Provides an interface for handlers to be invoked during the outbound processing of a message. The handlers have access to both the OutContext and the IXMLWriter, and have the option of writing XML content.


Method Summary
 void invoke(OutContext context, IXMLWriter xmlWriter)
          Invokes the handler.
 

Method Detail

invoke

void invoke(OutContext context,
            IXMLWriter xmlWriter)
            throws IOException,
                   WsException
Invokes the handler.

Parameters:
context - the context of the current message being sent
xmlWriter - a writer for the XML message positioned at the start of the XML content for which the handler is configured
Throws:
IOException - on I/O error writing the XML content
WsException - on errors other than I/O errors


Project Web Site