< prev index next >

jaxws/src/java.xml.ws/share/classes/javax/xml/soap/SOAPElement.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
*** 275,285 **** * attribute. * * @see SOAPElement#getAllAttributesAsQNames() * @return an iterator over the names of the attributes */ ! public Iterator getAllAttributes(); /** * Returns an {@code Iterator} over all of the attributes * in this {@code SOAPElement} as {@code QName} objects. * The iterator can be used to get the attribute QName, which can then --- 275,285 ---- * attribute. * * @see SOAPElement#getAllAttributesAsQNames() * @return an iterator over the names of the attributes */ ! public Iterator<Name> getAllAttributes(); /** * Returns an {@code Iterator} over all of the attributes * in this {@code SOAPElement} as {@code QName} objects. * The iterator can be used to get the attribute QName, which can then
*** 288,298 **** * * @return an iterator over the QNames of the attributes * @see SOAPElement#getAllAttributes() * @since 1.6, SAAJ 1.3 */ ! public Iterator getAllAttributesAsQNames(); /** * Returns the URI of the namespace that has the given prefix. * --- 288,298 ---- * * @return an iterator over the QNames of the attributes * @see SOAPElement#getAllAttributes() * @since 1.6, SAAJ 1.3 */ ! public Iterator<QName> getAllAttributesAsQNames(); /** * Returns the URI of the namespace that has the given prefix. *
*** 310,320 **** * {@code getNamespaceURI} to retrieve the URI of each namespace. * * @return an iterator over the namespace prefixes in this * {@code SOAPElement} object */ ! public Iterator getNamespacePrefixes(); /** * Returns an {@code Iterator} over the namespace prefix * {@code String}s visible to this element. The prefixes returned by * this iterator can be passed to the method --- 310,320 ---- * {@code getNamespaceURI} to retrieve the URI of each namespace. * * @return an iterator over the namespace prefixes in this * {@code SOAPElement} object */ ! public Iterator<String> getNamespacePrefixes(); /** * Returns an {@code Iterator} over the namespace prefix * {@code String}s visible to this element. The prefixes returned by * this iterator can be passed to the method
*** 323,333 **** * @return an iterator over the namespace prefixes are within scope of this * {@code SOAPElement} object * * @since 1.6, SAAJ 1.2 */ ! public Iterator getVisibleNamespacePrefixes(); /** * Creates a {@code QName} whose namespace URI is the one associated * with the parameter, {@code prefix}, in the context of this * {@code SOAPElement}. The remaining elements of the new --- 323,333 ---- * @return an iterator over the namespace prefixes are within scope of this * {@code SOAPElement} object * * @since 1.6, SAAJ 1.2 */ ! public Iterator<String> getVisibleNamespacePrefixes(); /** * Creates a {@code QName} whose namespace URI is the one associated * with the parameter, {@code prefix}, in the context of this * {@code SOAPElement}. The remaining elements of the new
*** 427,437 **** /** * Returns an {@code Iterator} over all the immediate child * {@link Node}s of this element. This includes {@code javax.xml.soap.Text} * objects as well as {@code SOAPElement} objects. * <p> ! * Calling this method may cause child {@code Element}, * {@code SOAPElement} and {@code org.w3c.dom.Text} nodes to be * replaced by {@code SOAPElement}, {@code SOAPHeaderElement}, * {@code SOAPBodyElement} or {@code javax.xml.soap.Text} nodes as * appropriate for the type of this parent node. As a result the calling * application must treat any existing references to these child nodes that --- 427,437 ---- /** * Returns an {@code Iterator} over all the immediate child * {@link Node}s of this element. This includes {@code javax.xml.soap.Text} * objects as well as {@code SOAPElement} objects. * <p> ! * Calling this method must cause child {@code Element}, * {@code SOAPElement} and {@code org.w3c.dom.Text} nodes to be * replaced by {@code SOAPElement}, {@code SOAPHeaderElement}, * {@code SOAPBodyElement} or {@code javax.xml.soap.Text} nodes as * appropriate for the type of this parent node. As a result the calling * application must treat any existing references to these child nodes that
*** 442,459 **** * for more details. * * @return an iterator with the content of this {@code SOAPElement} * object */ ! public Iterator getChildElements(); /** * Returns an {@code Iterator} over all the immediate child * {@link Node}s of this element with the specified name. All of these * children will be {@code SOAPElement} nodes. * <p> ! * Calling this method may cause child {@code Element}, * {@code SOAPElement} and {@code org.w3c.dom.Text} nodes to be * replaced by {@code SOAPElement}, {@code SOAPHeaderElement}, * {@code SOAPBodyElement} or {@code javax.xml.soap.Text} nodes as * appropriate for the type of this parent node. As a result the calling * application must treat any existing references to these child nodes that --- 442,459 ---- * for more details. * * @return an iterator with the content of this {@code SOAPElement} * object */ ! public Iterator<Node> getChildElements(); /** * Returns an {@code Iterator} over all the immediate child * {@link Node}s of this element with the specified name. All of these * children will be {@code SOAPElement} nodes. * <p> ! * Calling this method must cause child {@code Element}, * {@code SOAPElement} and {@code org.w3c.dom.Text} nodes to be * replaced by {@code SOAPElement}, {@code SOAPHeaderElement}, * {@code SOAPBodyElement} or {@code javax.xml.soap.Text} nodes as * appropriate for the type of this parent node. As a result the calling * application must treat any existing references to these child nodes that
*** 469,486 **** * @return an {@code Iterator} object over all the elements * in this {@code SOAPElement} object with the * specified name * @see SOAPElement#getChildElements(javax.xml.namespace.QName) */ ! public Iterator getChildElements(Name name); /** * Returns an {@code Iterator} over all the immediate child * {@link Node}s of this element with the specified qname. All of these * children will be {@code SOAPElement} nodes. * <p> ! * Calling this method may cause child {@code Element}, * {@code SOAPElement} and {@code org.w3c.dom.Text} nodes to be * replaced by {@code SOAPElement}, {@code SOAPHeaderElement}, * {@code SOAPBodyElement} or {@code javax.xml.soap.Text} nodes as * appropriate for the type of this parent node. As a result the calling * application must treat any existing references to these child nodes that --- 469,486 ---- * @return an {@code Iterator} object over all the elements * in this {@code SOAPElement} object with the * specified name * @see SOAPElement#getChildElements(javax.xml.namespace.QName) */ ! public Iterator<Node> getChildElements(Name name); /** * Returns an {@code Iterator} over all the immediate child * {@link Node}s of this element with the specified qname. All of these * children will be {@code SOAPElement} nodes. * <p> ! * Calling this method must cause child {@code Element}, * {@code SOAPElement} and {@code org.w3c.dom.Text} nodes to be * replaced by {@code SOAPElement}, {@code SOAPHeaderElement}, * {@code SOAPBodyElement} or {@code javax.xml.soap.Text} nodes as * appropriate for the type of this parent node. As a result the calling * application must treat any existing references to these child nodes that
*** 497,507 **** * in this {@code SOAPElement} object with the * specified qname * @see SOAPElement#getChildElements(Name) * @since 1.6, SAAJ 1.3 */ ! public Iterator getChildElements(QName qname); /** * Sets the encoding style for this {@code SOAPElement} object * to one specified. * --- 497,507 ---- * in this {@code SOAPElement} object with the * specified qname * @see SOAPElement#getChildElements(Name) * @since 1.6, SAAJ 1.3 */ ! public Iterator<Node> getChildElements(QName qname); /** * Sets the encoding style for this {@code SOAPElement} object * to one specified. *
< prev index next >