1 package org.codehaus.xfire.xmpp; 2 3 import org.dom4j.Document; 4 import org.jivesoftware.smack.packet.IQ; 5 6 /*** 7 * @author <a href="mailto:dan@envoisolutions.com">Dan Diephouse</a> 8 */ 9 public class SoapEnvelopePacket 10 extends IQ 11 { 12 private Document document; 13 private String body; 14 15 public SoapEnvelopePacket(String body) 16 { 17 this.body = body; 18 } 19 20 public SoapEnvelopePacket(Document document) 21 { 22 this.document = document; 23 } 24 25 public String getChildElementXML() 26 { 27 return body; 28 } 29 }