JBoss Marshalling 1.3.18.GA

org.jboss.marshalling.river
Class BlockMarshaller

java.lang.Object
  extended by org.jboss.marshalling.river.BlockMarshaller
All Implemented Interfaces:
Closeable, DataOutput, Flushable, ObjectOutput, ByteOutput, Marshaller

public final class BlockMarshaller
extends Object
implements Marshaller


Method Summary
 void clearClassCache()
           
 void clearInstanceCache()
           
 void close()
           
 void finish()
           
 void flush()
           
 void start(ByteOutput newOutput)
           
 void write(byte[] b)
           
 void write(byte[] bytes, int off, int len)
           
 void write(int v)
           
 void writeBoolean(boolean v)
           
 void writeByte(int v)
           
 void writeBytes(String s)
           
 void writeChar(int v)
           
 void writeChars(String s)
           
 void writeDouble(double v)
           
 void writeFloat(float v)
           
 void writeInt(int v)
           
 void writeLong(long v)
           
 void writeObject(Object obj)
           
 void writeObjectUnshared(Object obj)
           
 void writeShort(int v)
           
 void writeUTF(String s)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

start

public void start(ByteOutput newOutput)
           throws IOException
Specified by:
start in interface Marshaller
Throws:
IOException

clearInstanceCache

public void clearInstanceCache()
                        throws IOException
Specified by:
clearInstanceCache in interface Marshaller
Throws:
IOException

clearClassCache

public void clearClassCache()
                     throws IOException
Specified by:
clearClassCache in interface Marshaller
Throws:
IOException

finish

public void finish()
            throws IOException
Specified by:
finish in interface Marshaller
Throws:
IOException

writeObject

public void writeObject(Object obj)
                 throws IOException
Specified by:
writeObject in interface ObjectOutput
Throws:
IOException

writeObjectUnshared

public void writeObjectUnshared(Object obj)
                         throws IOException
Specified by:
writeObjectUnshared in interface Marshaller
Throws:
IOException

write

public void write(int v)
           throws IOException
Specified by:
write in interface DataOutput
Specified by:
write in interface ObjectOutput
Specified by:
write in interface ByteOutput
Throws:
IOException

write

public void write(byte[] b)
           throws IOException
Specified by:
write in interface DataOutput
Specified by:
write in interface ObjectOutput
Specified by:
write in interface ByteOutput
Throws:
IOException

write

public void write(byte[] bytes,
                  int off,
                  int len)
           throws IOException
Specified by:
write in interface DataOutput
Specified by:
write in interface ObjectOutput
Specified by:
write in interface ByteOutput
Throws:
IOException

writeBoolean

public void writeBoolean(boolean v)
                  throws IOException
Specified by:
writeBoolean in interface DataOutput
Throws:
IOException

writeByte

public void writeByte(int v)
               throws IOException
Specified by:
writeByte in interface DataOutput
Throws:
IOException

writeShort

public void writeShort(int v)
                throws IOException
Specified by:
writeShort in interface DataOutput
Throws:
IOException

writeChar

public void writeChar(int v)
               throws IOException
Specified by:
writeChar in interface DataOutput
Throws:
IOException

writeInt

public void writeInt(int v)
              throws IOException
Specified by:
writeInt in interface DataOutput
Throws:
IOException

writeLong

public void writeLong(long v)
               throws IOException
Specified by:
writeLong in interface DataOutput
Throws:
IOException

writeFloat

public void writeFloat(float v)
                throws IOException
Specified by:
writeFloat in interface DataOutput
Throws:
IOException

writeDouble

public void writeDouble(double v)
                 throws IOException
Specified by:
writeDouble in interface DataOutput
Throws:
IOException

writeBytes

public void writeBytes(String s)
                throws IOException
Specified by:
writeBytes in interface DataOutput
Throws:
IOException

writeChars

public void writeChars(String s)
                throws IOException
Specified by:
writeChars in interface DataOutput
Throws:
IOException

writeUTF

public void writeUTF(String s)
              throws IOException
Specified by:
writeUTF in interface DataOutput
Throws:
IOException

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Specified by:
flush in interface ObjectOutput
Throws:
IOException

close

public void close()
           throws IOException
Specified by:
close in interface Closeable
Specified by:
close in interface ObjectOutput
Throws:
IOException

JBoss Marshalling 1.3.18.GA

Copyright © 2011 JBoss, a division of Red Hat, Inc.