
public interface Marshaller extends java.io.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(java.lang.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(java.lang.Object obj)
throws java.io.IOException
obj - the object to be writtenjava.io.IOException - if an error occursvoid start(ByteOutput newOutput) throws java.io.IOException
newOutput - the new streamjava.io.IOException - if an error occurs during setup, such as an error writing the headervoid clearInstanceCache()
throws java.io.IOException
java.io.IOException - if an error occursvoid clearClassCache()
throws java.io.IOException
java.io.IOException - if an error occursvoid finish()
throws java.io.IOException
start(ByteOutput) method is again invoked.java.io.IOException - if an error occursCopyright © 2011 JBoss, a division of Red Hat, Inc.