jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/Envelope.java
equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved. |
2 * Copyright (c) 1997, 2017, Oracle and/or its affiliates. All rights reserved. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
3 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. |
4 * |
4 * |
5 * This code is free software; you can redistribute it and/or modify it |
5 * This code is free software; you can redistribute it and/or modify it |
6 * under the terms of the GNU General Public License version 2 only, as |
6 * under the terms of the GNU General Public License version 2 only, as |
7 * published by the Free Software Foundation. Oracle designates this |
7 * published by the Free Software Foundation. Oracle designates this |
39 * @author Anil Vijendran (akv@eng.sun.com) |
39 * @author Anil Vijendran (akv@eng.sun.com) |
40 */ |
40 */ |
41 public interface Envelope extends SOAPEnvelope { |
41 public interface Envelope extends SOAPEnvelope { |
42 /** |
42 /** |
43 * Get the content as a JAXP Source. |
43 * Get the content as a JAXP Source. |
|
44 * |
|
45 * @return source |
44 */ |
46 */ |
45 Source getContent(); |
47 Source getContent(); |
46 |
48 |
47 /** |
49 /** |
48 * Output the content. |
50 * Output the content. |
|
51 * |
|
52 * @param out output stream. |
|
53 * @exception IOException in case of an I/O error. |
49 */ |
54 */ |
50 void output(OutputStream out) throws IOException; |
55 void output(OutputStream out) throws IOException; |
51 |
56 |
52 /** |
57 /** |
53 * Output the content. |
58 * Output the content. |
|
59 * |
|
60 * @param out output stream |
|
61 * @param isFastInfoset true if it is fast infoset. |
|
62 * @exception IOException in case of an I/O error. |
54 */ |
63 */ |
55 void output(OutputStream out, boolean isFastInfoset) throws IOException; |
64 void output(OutputStream out, boolean isFastInfoset) throws IOException; |
56 |
65 |
57 void setStaxBridge(StaxBridge bridge) throws SOAPException; |
66 void setStaxBridge(StaxBridge bridge) throws SOAPException; |
58 |
67 |