public interface StreamWriterFactory
XMLStreamWriter
instances.Modifier and Type | Method and Description |
---|---|
default void |
close(javax.xml.stream.XMLStreamWriter w)
Close the
XMLStreamWriter and any other resources. |
javax.xml.stream.XMLStreamWriter |
create(java.io.Writer w)
Create a
XMLStreamWriter that wraps the specified writer. |
javax.xml.stream.XMLStreamWriter create(java.io.Writer w) throws java.lang.Exception
XMLStreamWriter
that wraps the specified writer.java.lang.Exception
default void close(javax.xml.stream.XMLStreamWriter w)
XMLStreamWriter
and any other resources.