org.apache.servicemix.xmpp.marshaler
Interface XMPPMarshalerSupport

All Known Implementing Classes:
DefaultXMPPMarshaler

public interface XMPPMarshalerSupport

Author:
lhein

Method Summary
 void fromJBI(org.jivesoftware.smack.packet.Message message, javax.jbi.messaging.MessageExchange exchange, javax.jbi.messaging.NormalizedMessage normalizedMessage)
          converts the normalized message into a XMPP message
 void toJBI(javax.jbi.messaging.NormalizedMessage normalizedMessage, org.jivesoftware.smack.packet.Packet packet)
          converts the xmpp message to a normalized message
 

Method Detail

toJBI

void toJBI(javax.jbi.messaging.NormalizedMessage normalizedMessage,
           org.jivesoftware.smack.packet.Packet packet)
           throws javax.jbi.messaging.MessagingException
converts the xmpp message to a normalized message

Parameters:
normalizedMessage - the normalized message to fill
packet - the xmpp packet to use
Throws:
javax.jbi.messaging.MessagingException - on conversion errors

fromJBI

void fromJBI(org.jivesoftware.smack.packet.Message message,
             javax.jbi.messaging.MessageExchange exchange,
             javax.jbi.messaging.NormalizedMessage normalizedMessage)
             throws javax.xml.transform.TransformerException
converts the normalized message into a XMPP message

Parameters:
message - the XMPP message to fill
exchange - the exchange to use as source
normalizedMessage - the normalized message to use as source
Throws:
javax.xml.transform.TransformerException - on conversion errors


Copyright © 2005-2015 FuseSource. All Rights Reserved.