org.msgpack.template.builder
Class ArrayTemplateBuilder
java.lang.Object
org.msgpack.template.builder.AbstractTemplateBuilder
org.msgpack.template.builder.ArrayTemplateBuilder
- All Implemented Interfaces:
- TemplateBuilder
public class ArrayTemplateBuilder
- extends AbstractTemplateBuilder
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ArrayTemplateBuilder
public ArrayTemplateBuilder(TemplateRegistry registry)
matchType
public boolean matchType(Type targetType,
boolean forceBuild)
buildTemplate
public <T> Template<T> buildTemplate(Type arrayType)
- Specified by:
buildTemplate
in interface TemplateBuilder
- Overrides:
buildTemplate
in class AbstractTemplateBuilder
buildTemplate
public <T> Template<T> buildTemplate(Class<T> targetClass,
FieldList flist)
throws TemplateBuildException
- Specified by:
buildTemplate
in interface TemplateBuilder
- Overrides:
buildTemplate
in class AbstractTemplateBuilder
- Throws:
TemplateBuildException
buildTemplate
protected <T> Template<T> buildTemplate(Class<T> targetClass,
FieldEntry[] entries)
- Specified by:
buildTemplate
in class AbstractTemplateBuilder
writeTemplate
public void writeTemplate(Type targetType,
String directoryName)
- Specified by:
writeTemplate
in interface TemplateBuilder
- Overrides:
writeTemplate
in class AbstractTemplateBuilder
loadTemplate
public <T> Template<T> loadTemplate(Type targetType)
- Specified by:
loadTemplate
in interface TemplateBuilder
- Overrides:
loadTemplate
in class AbstractTemplateBuilder
Copyright © 2011. All Rights Reserved.