org.msgpack.template.builder
Class ReflectionBeansTemplateBuilder

java.lang.Object
  extended by org.msgpack.template.builder.AbstractTemplateBuilder
      extended by org.msgpack.template.builder.ReflectionTemplateBuilder
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.msgpack.template.builder.ReflectionTemplateBuilder
ReflectionTemplateBuilder.ReflectionClassTemplate<T>, ReflectionTemplateBuilder.ReflectionFieldTemplate
 
Field Summary
 
Fields inherited from class org.msgpack.template.builder.AbstractTemplateBuilder
registry
 
Constructor Summary
ReflectionBeansTemplateBuilder(TemplateRegistry registry)
           
 
Method Summary
 boolean matchType(Type targetType, boolean hasAnnotation)
           
 FieldEntry[] toFieldEntries(Class<?> targetClass, FieldOption implicitOption)
           
protected  ReflectionTemplateBuilder.ReflectionFieldTemplate[] toTemplates(FieldEntry[] entries)
           
 
Methods inherited from class org.msgpack.template.builder.ReflectionTemplateBuilder
buildTemplate
 
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
 

Constructor Detail

ReflectionBeansTemplateBuilder

public ReflectionBeansTemplateBuilder(TemplateRegistry registry)
Method Detail

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.