org.granite.messaging.jmf.codec.std
Interface BooleanCodec

All Superinterfaces:
BijectiveCodec<Boolean>, JMFConstants, PrimitiveCodec<Boolean>, StandardCodec<Boolean>
All Known Implementing Classes:
BooleanCodecImpl

public interface BooleanCodec
extends PrimitiveCodec<Boolean>

Author:
Franck WOLFF

Field Summary
 
Fields inherited from interface org.granite.messaging.jmf.JMFConstants
CLIENT_PERSISTENCE_COLLECTION_PACKAGE, JMF_1111_1010, JMF_1111_1011, JMF_1111_1100, JMF_1111_1101, JMF_1111_1110, JMF_1111_1111, JMF_ARRAY, JMF_ARRAY_LIST, JMF_BIG_DECIMAL, JMF_BIG_INTEGER, JMF_BOOLEAN, JMF_BOOLEAN_OBJECT, JMF_BYTE, JMF_BYTE_OBJECT, JMF_CHARACTER, JMF_CHARACTER_OBJECT, JMF_CLASS, JMF_DATE, JMF_DOUBLE, JMF_DOUBLE_OBJECT, JMF_ENUM, JMF_FLOAT, JMF_FLOAT_OBJECT, JMF_HASH_MAP, JMF_HASH_SET, JMF_INTEGER, JMF_INTEGER_OBJECT, JMF_LONG, JMF_LONG_OBJECT, JMF_NULL, JMF_OBJECT, JMF_OBJECT_END, JMF_SHORT, JMF_SHORT_OBJECT, JMF_SQL_DATE, JMF_SQL_TIME, JMF_SQL_TIMESTAMP, JMF_STRING, JMF_X011_1100, JMF_X011_1101, JMF_X011_1110, JMF_X011_1111, JMF_XX01_1110, JMF_XX01_1111, JMF_XXX0_1110, JMF_XXX0_1111, JMF_XXXX_0110, JMF_XXXX_0111, UTF8
 
Method Summary
 Boolean decode(InputContext ctx, int parameterizedJmfType)
           
 boolean decodePrimitive(InputContext ctx)
           
 void encode(OutputContext ctx, Boolean v)
           
 void encodePrimitive(OutputContext ctx, boolean v)
           
 
Methods inherited from interface org.granite.messaging.jmf.codec.PrimitiveCodec
getPrimitiveClass, getPrimitiveType
 
Methods inherited from interface org.granite.messaging.jmf.codec.BijectiveCodec
getObjectClass
 
Methods inherited from interface org.granite.messaging.jmf.codec.StandardCodec
dump, getObjectType
 

Method Detail

encodePrimitive

void encodePrimitive(OutputContext ctx,
                     boolean v)
                     throws IOException
Throws:
IOException

decodePrimitive

boolean decodePrimitive(InputContext ctx)
                        throws IOException
Throws:
IOException

encode

void encode(OutputContext ctx,
            Boolean v)
            throws IOException
Specified by:
encode in interface StandardCodec<Boolean>
Throws:
IOException

decode

Boolean decode(InputContext ctx,
               int parameterizedJmfType)
               throws IOException
Specified by:
decode in interface StandardCodec<Boolean>
Throws:
IOException