< prev index next >
jaxws/src/java.xml.ws/share/classes/com/sun/xml/internal/messaging/saaj/soap/Envelope.java
Print this page
@@ -1,7 +1,7 @@
/*
- * Copyright (c) 1997, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1997, 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
@@ -39,20 +39,29 @@
* @author Anil Vijendran (akv@eng.sun.com)
*/
public interface Envelope extends SOAPEnvelope {
/**
* Get the content as a JAXP Source.
+ *
+ * @return source
*/
Source getContent();
/**
* Output the content.
+ *
+ * @param out output stream.
+ * @exception IOException in case of an I/O error.
*/
void output(OutputStream out) throws IOException;
/**
* Output the content.
+ *
+ * @param out output stream
+ * @param isFastInfoset true if it is fast infoset.
+ * @exception IOException in case of an I/O error.
*/
void output(OutputStream out, boolean isFastInfoset) throws IOException;
void setStaxBridge(StaxBridge bridge) throws SOAPException;
< prev index next >