org.msgpack.template
Class TemplateReference<T>
java.lang.Object
org.msgpack.template.AbstractTemplate<T>
org.msgpack.template.TemplateReference<T>
- All Implemented Interfaces:
- Template<T>
public class TemplateReference<T>
- extends AbstractTemplate<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateReference
public TemplateReference(TemplateRegistry registry,
Type targetType)
write
public void write(Packer pk,
T v,
boolean required)
throws IOException
- Throws:
IOException
write
public void write(Packer pk,
T v)
throws IOException
- Specified by:
write
in interface Template<T>
- Overrides:
write
in class AbstractTemplate<T>
- Throws:
IOException
read
public T read(Unpacker u,
T to,
boolean required)
throws IOException
- Throws:
IOException
read
public T read(Unpacker u,
T to)
throws IOException
- Specified by:
read
in interface Template<T>
- Overrides:
read
in class AbstractTemplate<T>
- Throws:
IOException
Copyright © 2011. All Rights Reserved.