org.apache.servicemix.components.activesoap
Class ASMarshaler

java.lang.Object
  extended by org.apache.servicemix.components.activesoap.ASMarshaler

public class ASMarshaler
extends Object

Version:
$Revision: 2153 $

Constructor Summary
ASMarshaler()
           
 
Method Summary
 javax.xml.stream.XMLStreamReader createStreamReader(javax.jbi.messaging.NormalizedMessage message)
           
 javax.xml.stream.XMLStreamWriter createStreamWriter(Writer writer)
           
 void fromNMS(org.codehaus.activesoap.MessageExchange asExchange, javax.jbi.messaging.NormalizedMessage normalizedMessage)
          Converts from an NMS message to an ActiveSOAP message exchange
 org.codehaus.activesoap.util.XMLStreamFactory getStreamFactory()
           
 void setContent(javax.jbi.messaging.NormalizedMessage message, String xml)
           
 void setStreamFactory(org.codehaus.activesoap.util.XMLStreamFactory streamFactory)
           
 void toNMS(javax.jbi.messaging.NormalizedMessage normalizedMessage, org.codehaus.activesoap.MessageExchange asExchange)
          Converts from an ActiveSOAP message exchange to an NMS message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ASMarshaler

public ASMarshaler()
Method Detail

setContent

public void setContent(javax.jbi.messaging.NormalizedMessage message,
                       String xml)
                throws javax.jbi.messaging.MessagingException
Throws:
javax.jbi.messaging.MessagingException

createStreamReader

public javax.xml.stream.XMLStreamReader createStreamReader(javax.jbi.messaging.NormalizedMessage message)
                                                    throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

createStreamWriter

public javax.xml.stream.XMLStreamWriter createStreamWriter(Writer writer)
                                                    throws javax.xml.stream.XMLStreamException
Throws:
javax.xml.stream.XMLStreamException

fromNMS

public void fromNMS(org.codehaus.activesoap.MessageExchange asExchange,
                    javax.jbi.messaging.NormalizedMessage normalizedMessage)
Converts from an NMS message to an ActiveSOAP message exchange


toNMS

public void toNMS(javax.jbi.messaging.NormalizedMessage normalizedMessage,
                  org.codehaus.activesoap.MessageExchange asExchange)
Converts from an ActiveSOAP message exchange to an NMS message


getStreamFactory

public org.codehaus.activesoap.util.XMLStreamFactory getStreamFactory()

setStreamFactory

public void setStreamFactory(org.codehaus.activesoap.util.XMLStreamFactory streamFactory)


Copyright © 2005-2010 The Apache Software Foundation. All Rights Reserved.