< prev index next >
src/java.xml.ws/share/classes/javax/xml/soap/SOAPBody.java
Print this page
*** 1,7 ****
/*
! * Copyright (c) 2004, 2013, 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, 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
*** 256,266 ****
* @since 1.6, SAAJ 1.3
*/
public SOAPBodyElement addBodyElement(QName qname) throws SOAPException;
/**
! * Adds the root node of the DOM <code>{@link org.w3c.dom.Document}</code>
* to this {@code SOAPBody} object.
* <p>
* Calling this method invalidates the {@code document} parameter.
* The client application should discard all references to this {@code Document}
* and its contents upon calling {@code addDocument}. The behavior
--- 256,266 ----
* @since 1.6, SAAJ 1.3
*/
public SOAPBodyElement addBodyElement(QName qname) throws SOAPException;
/**
! * Adds the root node of the DOM {@link org.w3c.dom.Document}
* to this {@code SOAPBody} object.
* <p>
* Calling this method invalidates the {@code document} parameter.
* The client application should discard all references to this {@code Document}
* and its contents upon calling {@code addDocument}. The behavior
*** 277,292 ****
*/
public SOAPBodyElement addDocument(org.w3c.dom.Document document)
throws SOAPException;
/**
! * Creates a new DOM <code>{@link org.w3c.dom.Document}</code> and sets
* the first child of this {@code SOAPBody} as it's document
* element. The child {@code SOAPElement} is removed as part of the
* process.
*
! * @return the <code>{@link org.w3c.dom.Document}</code> representation
* of the {@code SOAPBody} content.
*
* @exception SOAPException
* if there is not exactly one child {@code SOAPElement} of the
* {@code SOAPBody}.
--- 277,292 ----
*/
public SOAPBodyElement addDocument(org.w3c.dom.Document document)
throws SOAPException;
/**
! * Creates a new DOM {@link org.w3c.dom.Document} and sets
* the first child of this {@code SOAPBody} as it's document
* element. The child {@code SOAPElement} is removed as part of the
* process.
*
! * @return the {@link org.w3c.dom.Document} representation
* of the {@code SOAPBody} content.
*
* @exception SOAPException
* if there is not exactly one child {@code SOAPElement} of the
* {@code SOAPBody}.
< prev index next >