< prev index next >

jaxws/src/java.xml.ws/share/classes/javax/xml/soap/Detail.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
*** 66,75 **** --- 66,78 ---- * name and adds it to this {@code Detail} object. * * @param name a {@code Name} object identifying the * new {@code DetailEntry} object * + * @return the new {@code DetailEntry} object that was + * created + * * @exception SOAPException thrown when there is a problem in adding a * DetailEntry object to this Detail object. * * @see Detail#addDetailEntry(QName qname) */
*** 81,90 **** --- 84,96 ---- * is the preferred over the one using Name. * * @param qname a {@code QName} object identifying the * new {@code DetailEntry} object * + * @return the new {@code DetailEntry} object that was + * created + * * @exception SOAPException thrown when there is a problem in adding a * DetailEntry object to this Detail object. * * @see Detail#addDetailEntry(Name name) * @since 1.6, SAAJ 1.3
*** 95,101 **** * Gets an Iterator over all of the {@code DetailEntry}s in this {@code Detail} object. * * @return an {@code Iterator} object over the {@code DetailEntry} * objects in this {@code Detail} object */ ! public Iterator getDetailEntries(); } --- 101,107 ---- * Gets an Iterator over all of the {@code DetailEntry}s in this {@code Detail} object. * * @return an {@code Iterator} object over the {@code DetailEntry} * objects in this {@code Detail} object */ ! public Iterator<DetailEntry> getDetailEntries(); }
< prev index next >