org.msgpack.template
Class AnyTemplate<T>

java.lang.Object
  extended by org.msgpack.template.AbstractTemplate<T>
      extended by org.msgpack.template.AnyTemplate<T>
All Implemented Interfaces:
Template<T>

public class AnyTemplate<T>
extends AbstractTemplate<T>


Method Summary
static AnyTemplate getInstance(TemplateRegistry registry)
           
 T read(Unpacker u, T to, boolean required)
           
 void write(Packer pk, T target, boolean required)
           
 
Methods inherited from class org.msgpack.template.AbstractTemplate
read, write
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static AnyTemplate getInstance(TemplateRegistry registry)

write

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

read

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


Copyright © 2011. All Rights Reserved.