| java.lang.Object com.sun.xml.ws.streaming.XMLStreamWriterUtil
XMLStreamWriterUtil | public class XMLStreamWriterUtil (Code) | | XMLStreamWriterUtil provides some utility methods intended to be used
in conjunction with a StAX XMLStreamWriter.
author: Santiago.PericasGeertsen@sun.com |
getOutputStream | public static OutputStream getOutputStream(XMLStreamWriter writer) throws XMLStreamException(Code) | | Gives the underlying stream for XMLStreamWriter. It closes any start elements, and returns the stream so
that JAXB can write infoset directly to the stream.
Parameters: writer - XMLStreamWriter for which stream is required underlying OutputStream, null if writer doesn't provide a way to get it throws: XMLStreamException - if any of writer operations throw the exception |
|
|