| 
 | Marshalling API version 1.0.0.Beta2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jboss.marshalling.Marshalling
public final class Marshalling

Static utility methods for simplfying use of marshallers.
| Method Summary | |
|---|---|
| static ByteInput | createByteInput(ByteBuffer buffer)Create a ByteInputwrapper for aByteBuffer. | 
| static ByteInput | createByteInput(InputStream inputStream)Create a ByteInputwrapper for anInputStream. | 
| static ByteOutput | createByteOutput(ByteBuffer buffer)Create a ByteOutputwrapper for aByteBuffer. | 
| static ByteOutput | createByteOutput(OutputStream outputStream)Create a ByteOutputwrapper for anOutputStream. | 
| static ClassTable | nullClassTable()Return the null class table instance. | 
| static ExternalizerFactory | nullExternalizerFactory()Return the null externalizer factory. | 
| static ObjectResolver | nullObjectResolver()Return the null object resolver. | 
| static ObjectTable | nullObjectTable()Return the null object instance table. | 
| static StreamHeader | nullStreamHeader()Get the default stream header producer, which reads and writes no header at all. | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public static StreamHeader nullStreamHeader()
public static ByteInput createByteInput(ByteBuffer buffer)
ByteInput wrapper for a ByteBuffer.
buffer - the byte buffer
public static ByteInput createByteInput(InputStream inputStream)
ByteInput wrapper for an InputStream.
inputStream - the input stream
public static ByteOutput createByteOutput(ByteBuffer buffer)
ByteOutput wrapper for a ByteBuffer.
buffer - the byte buffer
public static ByteOutput createByteOutput(OutputStream outputStream)
ByteOutput wrapper for an OutputStream.
outputStream - the output stream
public static ExternalizerFactory nullExternalizerFactory()
public static ObjectResolver nullObjectResolver()
public static ObjectTable nullObjectTable()
public static ClassTable nullClassTable()
| 
 | Marshalling API version 1.0.0.Beta2 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||