org.objectweb.jeremie.presentation.std

Class StdMarshallerFactory.StdMarshallerL

Enclosing Class:
StdMarshallerFactory
Implemented Interfaces:
JRMIMarshaller, Marshaller

public class StdMarshallerFactory.StdMarshallerL
extends StdMarshallerFactory.StdMarshaller

StdMarshallerL is a little endian implementation of Marshaller extending StdMarshaller.

Field Summary

Fields inherited from class org.objectweb.jeremie.presentation.std.StdMarshallerFactory.StdMarshaller

context, current, first, offset, os, top

Constructor Summary

StdMarshallerL()

Method Summary

boolean
isLittleEndian()
Returns true if this marshaller is little endian, else false.
void
writeChar16(char v)
Writes a char in a message.
void
writeDouble(double v)
Writes a double in a message.
void
writeFloat(float v)
Writes a float in a message.
void
writeInt(int v)
Writes an int in a message.
void
writeLong(long v)
Writes a long in a message.
void
writeShort(short v)
Writes a short in a message.
void
writeString16(String v)

Methods inherited from class org.objectweb.jeremie.presentation.std.StdMarshallerFactory.StdMarshaller

close, getContext, getOffset, getState, outputStream, prepare, reset, sameContents, setOffset, write, write, write, writeBoolean, writeByte, writeByteArray, writeChar8, writeException, writeMethod, writeParameters, writeReference, writeResult, writeString8, writeValue

Constructor Details

StdMarshallerL

public StdMarshallerL()

Method Details

isLittleEndian

public final boolean isLittleEndian()
Returns true if this marshaller is little endian, else false.

Returns:
true.


writeChar16

public void writeChar16(char v)
            throws JonathanException
Writes a char in a message.

Parameters:
v - a char;


writeDouble

public void writeDouble(double v)
            throws JonathanException
Writes a double in a message.

Parameters:
v - a double;


writeFloat

public void writeFloat(float v)
            throws JonathanException
Writes a float in a message.

Parameters:
v - a float;


writeInt

public void writeInt(int v)
            throws JonathanException
Writes an int in a message.

Parameters:
v - an int;


writeLong

public void writeLong(long v)
            throws JonathanException
Writes a long in a message.

Parameters:
v - a long;


writeShort

public void writeShort(short v)
            throws JonathanException
Writes a short in a message.

Parameters:
v - a short;


writeString16

public void writeString16(String v)
            throws JonathanException