< prev index next >
src/java.xml.ws/share/classes/javax/xml/soap/SAAJResult.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
--- 1,7 ----
/*
! * Copyright (c) 2004, 2017, Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
*** 71,81 ****
* API. When used in a transformation the results are populated into the
* {@code SOAPPart} of a {@code SOAPMessage} that is created
* internally. The {@code SOAPPart} returned by {@link DOMResult#getNode()}
* is not guaranteed to be well-formed.
*
! * @param protocol - the name of the SOAP protocol that the resulting SAAJ
* tree should support
*
* @throws SOAPException if a {@code SOAPMessage} supporting the
* specified protocol cannot be created
*
--- 71,81 ----
* API. When used in a transformation the results are populated into the
* {@code SOAPPart} of a {@code SOAPMessage} that is created
* internally. The {@code SOAPPart} returned by {@link DOMResult#getNode()}
* is not guaranteed to be well-formed.
*
! * @param protocol the name of the SOAP protocol that the resulting SAAJ
* tree should support
*
* @throws SOAPException if a {@code SOAPMessage} supporting the
* specified protocol cannot be created
*
*** 93,103 ****
* to be well-formed unless the data used to create it is also well formed.
* When used in a transformation the validity of the {@code SOAPMessage}
* after the transformation can be guaranteed only by means outside SAAJ
* specification.
*
! * @param message - the message whose {@code SOAPPart} will be
* populated as a result of some transformation or
* marshalling operation
*
* @since 1.6, SAAJ 1.3
*/
--- 93,103 ----
* to be well-formed unless the data used to create it is also well formed.
* When used in a transformation the validity of the {@code SOAPMessage}
* after the transformation can be guaranteed only by means outside SAAJ
* specification.
*
! * @param message the message whose {@code SOAPPart} will be
* populated as a result of some transformation or
* marshalling operation
*
* @since 1.6, SAAJ 1.3
*/
*** 112,122 ****
* invalidate the structure of the SAAJ tree. This kind of
* {@code SAAJResult} should only be used when the validity of the
* incoming data can be guaranteed by means outside of the SAAJ
* specification.
*
! * @param rootNode - the root to which the results will be appended
*
* @since 1.6, SAAJ 1.3
*/
public SAAJResult(SOAPElement rootNode) {
super(rootNode);
--- 112,122 ----
* invalidate the structure of the SAAJ tree. This kind of
* {@code SAAJResult} should only be used when the validity of the
* incoming data can be guaranteed by means outside of the SAAJ
* specification.
*
! * @param rootNode the root to which the results will be appended
*
* @since 1.6, SAAJ 1.3
*/
public SAAJResult(SOAPElement rootNode) {
super(rootNode);
< prev index next >