< prev index next >
jaxws/src/java.xml.ws/share/classes/javax/xml/soap/SOAPHeader.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
*** 116,126 ****
* @see #extractHeaderElements
* @see SOAPConstants#URI_SOAP_ACTOR_NEXT
*
* @since 1.6, SAAJ 1.2
*/
! public Iterator examineMustUnderstandHeaderElements(String actor);
/**
* Returns an {@code Iterator} over all the {@code SOAPHeaderElement} objects
* in this {@code SOAPHeader} object
* that have the specified <i>actor</i>.
--- 116,126 ----
* @see #extractHeaderElements
* @see SOAPConstants#URI_SOAP_ACTOR_NEXT
*
* @since 1.6, SAAJ 1.2
*/
! public Iterator<SOAPHeaderElement> examineMustUnderstandHeaderElements(String actor);
/**
* Returns an {@code Iterator} over all the {@code SOAPHeaderElement} objects
* in this {@code SOAPHeader} object
* that have the specified <i>actor</i>.
*** 142,152 ****
* {@code SOAPHeaderElement} objects that contain the specified
* {@code actor} / {@code role}
* @see #extractHeaderElements
* @see SOAPConstants#URI_SOAP_ACTOR_NEXT
*/
! public Iterator examineHeaderElements(String actor);
/**
* Returns an {@code Iterator} over all the {@code SOAPHeaderElement} objects
* in this {@code SOAPHeader} object
* that have the specified <i>actor</i> and detaches them
--- 142,152 ----
* {@code SOAPHeaderElement} objects that contain the specified
* {@code actor} / {@code role}
* @see #extractHeaderElements
* @see SOAPConstants#URI_SOAP_ACTOR_NEXT
*/
! public Iterator<SOAPHeaderElement> examineHeaderElements(String actor);
/**
* Returns an {@code Iterator} over all the {@code SOAPHeaderElement} objects
* in this {@code SOAPHeader} object
* that have the specified <i>actor</i> and detaches them
*** 166,176 ****
* {@code actor} / {@code role}
*
* @see #examineHeaderElements
* @see SOAPConstants#URI_SOAP_ACTOR_NEXT
*/
! public Iterator extractHeaderElements(String actor);
/**
* Creates a new NotUnderstood {@code SOAPHeaderElement} object initialized
* with the specified name and adds it to this {@code SOAPHeader} object.
* This operation is supported only by SOAP 1.2.
--- 166,176 ----
* {@code actor} / {@code role}
*
* @see #examineHeaderElements
* @see SOAPConstants#URI_SOAP_ACTOR_NEXT
*/
! public Iterator<SOAPHeaderElement> extractHeaderElements(String actor);
/**
* Creates a new NotUnderstood {@code SOAPHeaderElement} object initialized
* with the specified name and adds it to this {@code SOAPHeader} object.
* This operation is supported only by SOAP 1.2.
*** 197,207 ****
* @return the new {@code SOAPHeaderElement} object that was
* inserted into this {@code SOAPHeader} object
* @exception SOAPException if a SOAP error occurs.
* @since 1.6, SAAJ 1.3
*/
! public SOAPHeaderElement addUpgradeHeaderElement(Iterator supportedSOAPURIs)
throws SOAPException;
/**
* Creates a new Upgrade {@code SOAPHeaderElement} object initialized
* with the specified array of supported SOAP URIs and adds it to this
--- 197,207 ----
* @return the new {@code SOAPHeaderElement} object that was
* inserted into this {@code SOAPHeader} object
* @exception SOAPException if a SOAP error occurs.
* @since 1.6, SAAJ 1.3
*/
! public SOAPHeaderElement addUpgradeHeaderElement(Iterator<String> supportedSOAPURIs)
throws SOAPException;
/**
* Creates a new Upgrade {@code SOAPHeaderElement} object initialized
* with the specified array of supported SOAP URIs and adds it to this
*** 241,251 ****
* {@code SOAPHeader}
* @see #extractAllHeaderElements
*
* @since 1.6, SAAJ 1.2
*/
! public Iterator examineAllHeaderElements();
/**
* Returns an {@code Iterator} over all the {@code SOAPHeaderElement} objects
* in this {@code SOAPHeader} object and detaches them
* from this {@code SOAPHeader} object.
--- 241,251 ----
* {@code SOAPHeader}
* @see #extractAllHeaderElements
*
* @since 1.6, SAAJ 1.2
*/
! public Iterator<SOAPHeaderElement> examineAllHeaderElements();
/**
* Returns an {@code Iterator} over all the {@code SOAPHeaderElement} objects
* in this {@code SOAPHeader} object and detaches them
* from this {@code SOAPHeader} object.
*** 256,263 ****
*
* @see #examineAllHeaderElements
*
* @since 1.6, SAAJ 1.2
*/
! public Iterator extractAllHeaderElements();
}
--- 256,263 ----
*
* @see #examineAllHeaderElements
*
* @since 1.6, SAAJ 1.2
*/
! public Iterator<SOAPHeaderElement> extractAllHeaderElements();
}
< prev index next >