org.objectweb.jeremie.presentation.std
Class StdMarshallerFactory.StdMarshallerL

java.lang.Object
  extended by java.io.OutputStream
      extended by org.objectweb.jeremie.presentation.std.StdMarshallerFactory.StdMarshaller
          extended by org.objectweb.jeremie.presentation.std.StdMarshallerFactory.StdMarshallerL
All Implemented Interfaces:
Closeable, Flushable, JRMIMarshaller, org.objectweb.jonathan.presentation.api.Marshaller
Enclosing class:
StdMarshallerFactory

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
StdMarshallerFactory.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
 
Methods inherited from class java.io.OutputStream
flush, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StdMarshallerFactory.StdMarshallerL

public StdMarshallerFactory.StdMarshallerL()
Method Detail

writeChar16

public void writeChar16(char v)
                 throws org.objectweb.jonathan.apis.kernel.JonathanException
Writes a char in a message.

Parameters:
v - a char;
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException - if an error occurs.

writeShort

public void writeShort(short v)
                throws org.objectweb.jonathan.apis.kernel.JonathanException
Writes a short in a message.

Parameters:
v - a short;
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException - if an error occurs.

writeInt

public void writeInt(int v)
              throws org.objectweb.jonathan.apis.kernel.JonathanException
Writes an int in a message.

Parameters:
v - an int;
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException - if an error occurs.

writeLong

public void writeLong(long v)
               throws org.objectweb.jonathan.apis.kernel.JonathanException
Writes a long in a message.

Parameters:
v - a long;
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException - if an error occurs.

writeFloat

public void writeFloat(float v)
                throws org.objectweb.jonathan.apis.kernel.JonathanException
Writes a float in a message.

Parameters:
v - a float;
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException - if an error occurs.

writeDouble

public void writeDouble(double v)
                 throws org.objectweb.jonathan.apis.kernel.JonathanException
Writes a double in a message.

Parameters:
v - a double;
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException - if an error occurs.

writeString16

public void writeString16(String v)
                   throws org.objectweb.jonathan.apis.kernel.JonathanException
Throws:
org.objectweb.jonathan.apis.kernel.JonathanException

isLittleEndian

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

Returns:
true.