|
JBoss Marshalling 1.2.1.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Marshaller
An object marshaller for writing objects to byte streams.
Method Summary | |
---|---|
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. |
Methods inherited from interface java.io.ObjectOutput |
---|
close, flush, write, write, write, writeObject |
Methods inherited from interface java.io.DataOutput |
---|
writeBoolean, writeByte, writeBytes, writeChar, writeChars, writeDouble, writeFloat, writeInt, writeLong, writeShort, writeUTF |
Methods inherited from interface org.jboss.marshalling.ByteOutput |
---|
write, write, write |
Methods inherited from interface java.io.Closeable |
---|
close |
Methods inherited from interface java.io.Flushable |
---|
flush |
Method Detail |
---|
void writeObjectUnshared(Object obj) throws IOException
obj
- the object to be written
IOException
- if an error occursvoid start(ByteOutput newOutput) throws IOException
newOutput
- the new stream
IOException
- 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 occurs
|
JBoss Marshalling 1.2.1.GA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |