Package org.apache.activemq.openwire.v2
Class MessageMarshaller
java.lang.Object
org.apache.activemq.openwire.v2.BaseDataStreamMarshaller
org.apache.activemq.openwire.v2.BaseCommandMarshaller
org.apache.activemq.openwire.v2.MessageMarshaller
- All Implemented Interfaces:
org.apache.activemq.openwire.DataStreamMarshaller
- Direct Known Subclasses:
ActiveMQMessageMarshaller
Marshalling code for Open Wire Format for MessageMarshaller NOTE!: This file
is auto generated - do not modify! if you need to make a change, please see
the modify the groovy scripts in the under src/gram/script and then use maven
openwire:generate to regenerate this file.
-
Field Summary
Fields inherited from class org.apache.activemq.openwire.v2.BaseDataStreamMarshaller
STACK_TRACE_ELEMENT_CONSTRUCTOR -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlooseMarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataOutput dataOut) Write the booleans that this object uses to a BooleanStreamvoidlooseUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataInput dataIn) Un-marshal an object instance from the data input streaminttightMarshal1(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, org.apache.activemq.openwire.BooleanStream bs) Write the booleans that this object uses to a BooleanStreamvoidtightMarshal2(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) Write a object instance to data output streamvoidtightUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) Un-marshal an object instance from the data input streamMethods inherited from class org.apache.activemq.openwire.v2.BaseDataStreamMarshaller
createObject, getDataStructureType, 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, toLong
-
Constructor Details
-
MessageMarshaller
public MessageMarshaller()
-
-
Method Details
-
tightUnmarshal
public void tightUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataInput dataIn, org.apache.activemq.openwire.BooleanStream bs) throws IOException Un-marshal an object instance from the data input stream- Specified by:
tightUnmarshalin interfaceorg.apache.activemq.openwire.DataStreamMarshaller- Overrides:
tightUnmarshalin classBaseCommandMarshaller- Parameters:
o- the object to un-marshaldataIn- the data input stream to build the object from- Throws:
IOException
-
tightMarshal1
public int tightMarshal1(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, org.apache.activemq.openwire.BooleanStream bs) throws IOException Write the booleans that this object uses to a BooleanStream- Specified by:
tightMarshal1in interfaceorg.apache.activemq.openwire.DataStreamMarshaller- Overrides:
tightMarshal1in classBaseCommandMarshaller- Throws:
IOException
-
tightMarshal2
public void tightMarshal2(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataOutput dataOut, org.apache.activemq.openwire.BooleanStream bs) throws IOException Write a object instance to data output stream- Specified by:
tightMarshal2in interfaceorg.apache.activemq.openwire.DataStreamMarshaller- Overrides:
tightMarshal2in classBaseCommandMarshaller- Parameters:
o- the instance to be marshaleddataOut- the output stream- Throws:
IOException- thrown if an error occurs
-
looseUnmarshal
public void looseUnmarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataInput dataIn) throws IOException Un-marshal an object instance from the data input stream- Specified by:
looseUnmarshalin interfaceorg.apache.activemq.openwire.DataStreamMarshaller- Overrides:
looseUnmarshalin classBaseCommandMarshaller- Parameters:
o- the object to un-marshaldataIn- the data input stream to build the object from- Throws:
IOException
-
looseMarshal
public void looseMarshal(org.apache.activemq.openwire.OpenWireFormat wireFormat, Object o, DataOutput dataOut) throws IOException Write the booleans that this object uses to a BooleanStream- Specified by:
looseMarshalin interfaceorg.apache.activemq.openwire.DataStreamMarshaller- Overrides:
looseMarshalin classBaseCommandMarshaller- Throws:
IOException
-