1 4 5 26 27 package javax.xml.soap; 28 29 import javax.xml.transform.dom.DOMResult ; 30 31 41 public class SAAJResult extends DOMResult { 42 43 59 public SAAJResult() throws SOAPException { 60 this(MessageFactory.newInstance().createMessage()); 61 } 62 63 85 public SAAJResult(String protocol) throws SOAPException { 86 this(MessageFactory.newInstance(protocol).createMessage()); 87 } 88 89 105 public SAAJResult(SOAPMessage message) { 106 super(message.getSOAPPart()); 107 } 108 109 122 public SAAJResult(SOAPElement rootNode) { 123 super(rootNode); 124 } 125 126 127 131 public javax.xml.soap.Node getResult() { 132 return (javax.xml.soap.Node )super.getNode().getFirstChild(); 133 } 134 } 135 | Popular Tags |