An instance of Marshaller may be obtained by the JAXB user to serialize JAXB objects to various flavours of XML. The created XML may be:
| A byte stream {@link java.io.OutputStream} | {@link #marshal(Object,java.io.OutputStream)} |
|---|---|
| A character stream {@link java.io.Writer} | {@link #marshal(Object,java.io.Writer)} |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |