public interface Marshaller extends ObjectOutput, ByteOutput
| Modifier and Type | Method and 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.
|
close, flush, write, write, write, writeObjectwriteBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTFwrite, write, writevoid 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 © 2017 JBoss by Red Hat. All rights reserved.