org.msgpack.template.builder
Class ReflectionTemplateBuilder.ReflectionClassTemplate<T>
java.lang.Object
org.msgpack.template.AbstractTemplate<T>
org.msgpack.template.builder.ReflectionTemplateBuilder.ReflectionClassTemplate<T>
- All Implemented Interfaces:
- Template<T>
- Enclosing class:
- ReflectionTemplateBuilder
protected static class ReflectionTemplateBuilder.ReflectionClassTemplate<T>
- extends AbstractTemplate<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
targetClass
protected Class<T> targetClass
templates
protected ReflectionTemplateBuilder.ReflectionFieldTemplate[] templates
ReflectionTemplateBuilder.ReflectionClassTemplate
protected ReflectionTemplateBuilder.ReflectionClassTemplate(Class<T> targetClass,
ReflectionTemplateBuilder.ReflectionFieldTemplate[] templates)
write
public void write(Packer packer,
T target,
boolean required)
throws IOException
- Throws:
IOException
read
public T read(Unpacker unpacker,
T to,
boolean required)
throws IOException
- Throws:
IOException
Copyright © 2011. All Rights Reserved.