public class ActiveMQMessageMarshaller extends MessageMarshaller
STACK_TRACE_ELEMENT_CONSTRUCTOR| Constructor and Description |
|---|
ActiveMQMessageMarshaller() |
| Modifier and Type | Method and Description |
|---|---|
DataStructure |
createObject() |
byte |
getDataStructureType()
Return the type of Data Structure we marshal
|
void |
looseMarshal(OpenWireFormat wireFormat,
java.lang.Object o,
java.io.DataOutput dataOut)
Write the booleans that this object uses to a BooleanStream
|
void |
looseUnmarshal(OpenWireFormat wireFormat,
java.lang.Object o,
java.io.DataInput dataIn)
Un-marshal an object instance from the data input stream
|
int |
tightMarshal1(OpenWireFormat wireFormat,
java.lang.Object o,
BooleanStream bs)
Write the booleans that this object uses to a BooleanStream
|
void |
tightMarshal2(OpenWireFormat wireFormat,
java.lang.Object o,
java.io.DataOutput dataOut,
BooleanStream bs)
Write a object instance to data output stream
|
void |
tightUnmarshal(OpenWireFormat wireFormat,
java.lang.Object o,
java.io.DataInput dataIn,
BooleanStream bs)
Un-marshal an object instance from the data input stream
|
looseMarshalByteArray, looseMarshalByteSequence, looseMarshalCachedObject, looseMarshalConstByteArray, looseMarshalLong, looseMarshalNestedObject, looseMarshalObjectArray, looseMarshalString, looseMarshalThrowable, looseUnmarsalCachedObject, looseUnmarsalNestedObject, looseUnmarsalThrowable, looseUnmarshalByteArray, looseUnmarshalByteSequence, looseUnmarshalConstByteArray, looseUnmarshalLong, looseUnmarshalString, tightMarshalByteArray1, tightMarshalByteArray2, tightMarshalByteSequence1, tightMarshalByteSequence2, tightMarshalCachedObject1, tightMarshalCachedObject2, tightMarshalConstByteArray1, tightMarshalConstByteArray2, tightMarshalLong1, tightMarshalLong2, tightMarshalNestedObject1, tightMarshalNestedObject2, tightMarshalObjectArray1, tightMarshalObjectArray2, tightMarshalString1, tightMarshalString2, tightMarshalThrowable1, tightMarshalThrowable2, tightUnmarsalCachedObject, tightUnmarsalNestedObject, tightUnmarsalThrowable, tightUnmarshalByteArray, tightUnmarshalByteSequence, tightUnmarshalConstByteArray, tightUnmarshalLong, tightUnmarshalString, toLong, toLongpublic byte getDataStructureType()
getDataStructureType in interface DataStreamMarshallergetDataStructureType in class BaseDataStreamMarshallerpublic DataStructure createObject()
createObject in interface DataStreamMarshallercreateObject in class BaseDataStreamMarshallerpublic void tightUnmarshal(OpenWireFormat wireFormat, java.lang.Object o, java.io.DataInput dataIn, BooleanStream bs) throws java.io.IOException
tightUnmarshal in interface DataStreamMarshallertightUnmarshal in class MessageMarshallero - the object to un-marshaldataIn - the data input stream to build the object fromjava.io.IOExceptionpublic int tightMarshal1(OpenWireFormat wireFormat, java.lang.Object o, BooleanStream bs) throws java.io.IOException
tightMarshal1 in interface DataStreamMarshallertightMarshal1 in class MessageMarshallerjava.io.IOExceptionpublic void tightMarshal2(OpenWireFormat wireFormat, java.lang.Object o, java.io.DataOutput dataOut, BooleanStream bs) throws java.io.IOException
tightMarshal2 in interface DataStreamMarshallertightMarshal2 in class MessageMarshallero - the instance to be marshaleddataOut - the output streamjava.io.IOException - thrown if an error occurspublic void looseUnmarshal(OpenWireFormat wireFormat, java.lang.Object o, java.io.DataInput dataIn) throws java.io.IOException
looseUnmarshal in interface DataStreamMarshallerlooseUnmarshal in class MessageMarshallero - the object to un-marshaldataIn - the data input stream to build the object fromjava.io.IOExceptionpublic void looseMarshal(OpenWireFormat wireFormat, java.lang.Object o, java.io.DataOutput dataOut) throws java.io.IOException
looseMarshal in interface DataStreamMarshallerlooseMarshal in class MessageMarshallerjava.io.IOExceptionCopyright © 2005-2014 Red Hat, Inc.. All Rights Reserved.