org.msgpack.template.builder
Class ReflectionBeansTemplateBuilder
java.lang.Object
org.msgpack.template.builder.AbstractTemplateBuilder
org.msgpack.template.builder.ReflectionTemplateBuilder
org.msgpack.template.builder.ReflectionBeansTemplateBuilder
- All Implemented Interfaces:
- TemplateBuilder
public class ReflectionBeansTemplateBuilder
- extends ReflectionTemplateBuilder
Class for building java reflection template builder for java beans class.
- Author:
- takeshita
Methods inherited from class org.msgpack.template.builder.AbstractTemplateBuilder |
buildTemplate, buildTemplate, checkClassValidation, getFieldOption, isAnnotated, isAnnotated, loadTemplate, matchAtArrayTemplateBuilder, matchAtClassTemplateBuilder, matchAtOrdinalEnumTemplateBuilder, writeTemplate |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReflectionBeansTemplateBuilder
public ReflectionBeansTemplateBuilder(TemplateRegistry registry)
matchType
public boolean matchType(Type targetType,
boolean hasAnnotation)
- Specified by:
matchType
in interface TemplateBuilder
- Overrides:
matchType
in class ReflectionTemplateBuilder
toTemplates
protected ReflectionTemplateBuilder.ReflectionFieldTemplate[] toTemplates(FieldEntry[] entries)
- Overrides:
toTemplates
in class ReflectionTemplateBuilder
toFieldEntries
public FieldEntry[] toFieldEntries(Class<?> targetClass,
FieldOption implicitOption)
- Overrides:
toFieldEntries
in class AbstractTemplateBuilder
Copyright © 2011. All Rights Reserved.