AutoCloseable, ByteOutput, Closeable, DataOutput, Flushable, ObjectOutputAbstractMarshaller, ObjectOutputStreamMarshallerpublic interface Marshaller extends ObjectOutput, ByteOutput
| Modifier and Type | Method | Description |
|---|---|---|
void |
clearClassCache() |
Discard the class cache.
|
void |
clearInstanceCache() |
Discard the instance cache.
|
void |
finish() |
Finish marshalling to a stream.
|
void |
start(ByteOutput newOutput) |
Begin marshalling to a stream.
|
void |
writeObjectUnshared(Object obj) |
Write an object to the underlying storage or stream as a new instance.
|
write, write, writewriteBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFclose, flush, write, write, write, writeObjectvoid writeObjectUnshared(Object obj) throws IOException
obj - the object to be writtenIOException - if an error occursvoid start(ByteOutput newOutput) throws IOException
newOutput - the new streamIOException - if an error occurs during setup, such as an error writing the headervoid clearInstanceCache()
throws IOException
IOException - if an error occursvoid clearClassCache()
throws IOException
IOException - if an error occursvoid finish()
throws IOException
start(ByteOutput) method is again invoked.IOException - if an error occursCopyright © 2018 JBoss by Red Hat. All rights reserved.