org.msgpack.template
Interface Template<T>

All Known Implementing Classes:
AbstractTemplate, AnyTemplate, BigDecimalTemplate, BigIntegerTemplate, BooleanArrayTemplate, BooleanTemplate, ByteArrayTemplate, ByteBufferTemplate, ByteTemplate, CharacterTemplate, CollectionTemplate, DateTemplate, DoubleArrayTemplate, DoubleTemplate, FloatArrayTemplate, FloatTemplate, IntegerArrayTemplate, IntegerTemplate, JavassistTemplateBuilder.JavassistTemplate, ListTemplate, LongArrayTemplate, LongTemplate, MapTemplate, MessagePackableTemplate, NotNullableTemplate, ObjectArrayTemplate, OrdinalEnumTemplate, ReflectionTemplateBuilder.ReflectionClassTemplate, ReflectionTemplateBuilder.ReflectionFieldTemplate, ShortArrayTemplate, ShortTemplate, StringTemplate, TemplateReference, ValueTemplate

public interface Template<T>


Method Summary
 T read(Unpacker u, T to)
           
 T read(Unpacker u, T to, boolean required)
           
 void write(Packer pk, T v)
           
 void write(Packer pk, T v, boolean required)
           
 

Method Detail

write

void write(Packer pk,
           T v)
           throws IOException
Throws:
IOException

write

void write(Packer pk,
           T v,
           boolean required)
           throws IOException
Throws:
IOException

read

T read(Unpacker u,
       T to)
       throws IOException
Throws:
IOException

read

T read(Unpacker u,
       T to,
       boolean required)
       throws IOException
Throws:
IOException


Copyright © 2011. All Rights Reserved.