< prev index next >
jaxws/src/java.xml.ws/share/classes/javax/xml/soap/SOAPHeader.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 2004, 2015, Oracle and/or its affiliates. All rights reserved.
+ * 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,11 +116,11 @@
* @see #extractHeaderElements
* @see SOAPConstants#URI_SOAP_ACTOR_NEXT
*
* @since 1.6, SAAJ 1.2
*/
- public Iterator examineMustUnderstandHeaderElements(String actor);
+ 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,11 +142,11 @@
* {@code SOAPHeaderElement} objects that contain the specified
* {@code actor} / {@code role}
* @see #extractHeaderElements
* @see SOAPConstants#URI_SOAP_ACTOR_NEXT
*/
- public Iterator examineHeaderElements(String actor);
+ 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,11 +166,11 @@
* {@code actor} / {@code role}
*
* @see #examineHeaderElements
* @see SOAPConstants#URI_SOAP_ACTOR_NEXT
*/
- public Iterator extractHeaderElements(String actor);
+ 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,11 +197,11 @@
* @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)
+ 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,11 +241,11 @@
* {@code SOAPHeader}
* @see #extractAllHeaderElements
*
* @since 1.6, SAAJ 1.2
*/
- public Iterator examineAllHeaderElements();
+ 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,8 +256,8 @@
*
* @see #examineAllHeaderElements
*
* @since 1.6, SAAJ 1.2
*/
- public Iterator extractAllHeaderElements();
+ public Iterator<SOAPHeaderElement> extractAllHeaderElements();
}
< prev index next >