org.msgpack.template.builder
Interface TemplateBuilder

All Known Implementing Classes:
AbstractTemplateBuilder, ArrayTemplateBuilder, JavassistBeansTemplateBuilder, JavassistTemplateBuilder, OrdinalEnumTemplateBuilder, ReflectionBeansTemplateBuilder, ReflectionTemplateBuilder

public interface TemplateBuilder


Method Summary
<T> Template<T>
buildTemplate(Class<T> targetClass, FieldList flist)
           
<T> Template<T>
buildTemplate(Type targetType)
           
<T> Template<T>
loadTemplate(Type targetType)
           
 boolean matchType(Type targetType, boolean forceBuild)
           
 void writeTemplate(Type targetType, String directoryName)
           
 

Method Detail

matchType

boolean matchType(Type targetType,
                  boolean forceBuild)

buildTemplate

<T> Template<T> buildTemplate(Type targetType)
                          throws TemplateBuildException
Throws:
TemplateBuildException

buildTemplate

<T> Template<T> buildTemplate(Class<T> targetClass,
                              FieldList flist)
                          throws TemplateBuildException
Throws:
TemplateBuildException

writeTemplate

void writeTemplate(Type targetType,
                   String directoryName)

loadTemplate

<T> Template<T> loadTemplate(Type targetType)


Copyright © 2011. All Rights Reserved.