Uses of Interface
org.msgpack.template.Template

Packages that use Template
org.msgpack   
org.msgpack.template   
org.msgpack.template.builder   
org.msgpack.unpacker   
 

Uses of Template in org.msgpack
 

Methods in org.msgpack that return Template
<T> Template<T>
MessagePack.lookup(Class<T> type)
          Looks up a Template object, which is serializer/deserializer associated by specified class.
 

Methods in org.msgpack with parameters of type Template
static
<T> void
MessagePack.pack(OutputStream out, T v, Template<T> template)
          Deprecated. MessagePack.write(OutputStream, Object, Template)
static
<T> byte[]
MessagePack.pack(T v, Template<T> template)
          Deprecated. MessagePack.write(Object, Template)
<T> T
MessagePack.read(byte[] bytes, Template<T> tmpl)
          Deserializes byte array to object according to template.
<T> T
MessagePack.read(byte[] bytes, T v, Template<T> tmpl)
          Deserializes byte array to object according to specified template.
<T> T
MessagePack.read(ByteBuffer b, Template<T> tmpl)
          Deserializes buffer to object according to template.
<T> T
MessagePack.read(ByteBuffer b, T v, Template<T> tmpl)
          Deserializes buffer to object according to template.
<T> T
MessagePack.read(InputStream in, Template<T> tmpl)
          Deserializes input stream to object according to template.
<T> T
MessagePack.read(InputStream in, T v, Template<T> tmpl)
          Deserializes input stream to object according to template
<T> void
MessagePack.register(Class<T> type, Template<T> template)
          Registers specified Template object associated by class.
static
<T> T
MessagePack.unpack(byte[] bytes, Template<T> template)
          Deprecated. 
static
<T> T
MessagePack.unpack(byte[] bytes, Template<T> template, T to)
          Deprecated. 
static
<T> T
MessagePack.unpack(InputStream in, Template<T> tmpl)
          Deprecated.  
static
<T> T
MessagePack.unpack(InputStream in, Template<T> tmpl, T to)
          Deprecated.  
<T> void
MessagePack.write(OutputStream out, T v, Template<T> template)
          Serializes object to output stream by specified template.
<T> byte[]
MessagePack.write(T v, Template<T> template)
          Serializes specified object.
 

Uses of Template in org.msgpack.template
 

Classes in org.msgpack.template that implement Template
 class AbstractTemplate<T>
           
 class AnyTemplate<T>
           
 class BigDecimalTemplate
           
 class BigIntegerTemplate
           
 class BooleanArrayTemplate
           
 class BooleanTemplate
           
 class ByteArrayTemplate
           
 class ByteBufferTemplate
           
 class ByteTemplate
           
 class CharacterTemplate
          CharacterTemplate
 class CollectionTemplate<E>
           
 class DateTemplate
           
 class DoubleArrayTemplate
           
 class DoubleTemplate
           
 class FloatArrayTemplate
           
 class FloatTemplate
           
 class IntegerArrayTemplate
           
 class IntegerTemplate
           
 class ListTemplate<E>
           
 class LongArrayTemplate
           
 class LongTemplate
           
 class MapTemplate<K,V>
           
 class MessagePackableTemplate
           
 class NotNullableTemplate<T>
           
 class ObjectArrayTemplate
           
 class OrdinalEnumTemplate<T>
           
 class ShortArrayTemplate
           
 class ShortTemplate
           
 class StringTemplate
           
 class TemplateReference<T>
           
 class ValueTemplate
           
 

Fields in org.msgpack.template declared as Template
protected  Template ObjectArrayTemplate.componentTemplate
           
static Template<BigDecimal> Templates.TBigDecimal
           
static Template<BigInteger> Templates.TBigInteger
           
static Template<Boolean> Templates.TBoolean
           
static Template<Byte> Templates.TByte
           
static Template<byte[]> Templates.TByteArray
           
static Template<ByteBuffer> Templates.TByteBuffer
           
static Template<Character> Templates.TCharacter
           
static Template<Date> Templates.TDate
           
static Template<Double> Templates.TDouble
           
static Template<Float> Templates.TFloat
           
static Template<Integer> Templates.TInteger
           
static Template<Long> Templates.TLong
           
static Template<Short> Templates.TShort
           
static Template<String> Templates.TString
           
static Template<Value> Templates.TValue
           
 

Methods in org.msgpack.template that return Template
 Template GenericTemplate.build(Template[] params)
           
 Template GenericMapTemplate.build(Template[] params)
           
 Template GenericCollectionTemplate.build(Template[] params)
           
 Template TemplateRegistry.lookup(Type targetType)
           
static Template Templates.tBigDecimal()
          Deprecated. 
static Template Templates.tBigInteger()
          Deprecated. 
static Template Templates.tBoolean()
          Deprecated. 
static Template Templates.tByte()
          Deprecated. 
static Template Templates.tByteArray()
          Deprecated. 
static Template Templates.tByteBuffer()
          Deprecated. 
static Template Templates.tCharacter()
          Deprecated. 
static
<E> Template<Collection<E>>
Templates.tCollection(Template<E> elementTemplate)
           
static Template Templates.tDate()
          Deprecated. 
static Template Templates.tDouble()
          Deprecated. 
static Template Templates.tFloat()
          Deprecated. 
static Template Templates.tInteger()
          Deprecated. 
static
<E> Template<List<E>>
Templates.tList(Template<E> elementTemplate)
           
static Template Templates.tLong()
          Deprecated. 
static
<K,V> Template<Map<K,V>>
Templates.tMap(Template<K> keyTemplate, Template<V> valueTemplate)
           
static
<T> Template<T>
Templates.tNotNullable(Template<T> innerTemplate)
           
static
<E extends Enum>
Template<E>
Templates.tOrdinalEnum(Class<E> enumClass)
           
static Template Templates.tShort()
          Deprecated. 
static Template Templates.tString()
          Deprecated. 
 

Methods in org.msgpack.template with parameters of type Template
 Template GenericTemplate.build(Template[] params)
           
 Template GenericMapTemplate.build(Template[] params)
           
 Template GenericCollectionTemplate.build(Template[] params)
           
 void TemplateRegistry.register(Type targetType, Template tmpl)
           
static
<E> Template<Collection<E>>
Templates.tCollection(Template<E> elementTemplate)
           
static
<E> Template<List<E>>
Templates.tList(Template<E> elementTemplate)
           
static
<K,V> Template<Map<K,V>>
Templates.tMap(Template<K> keyTemplate, Template<V> valueTemplate)
           
static
<K,V> Template<Map<K,V>>
Templates.tMap(Template<K> keyTemplate, Template<V> valueTemplate)
           
static
<T> Template<T>
Templates.tNotNullable(Template<T> innerTemplate)
           
 

Constructors in org.msgpack.template with parameters of type Template
CollectionTemplate(Template<E> elementTemplate)
           
ListTemplate(Template<E> elementTemplate)
           
MapTemplate(Template<K> keyTemplate, Template<V> valueTemplate)
           
MapTemplate(Template<K> keyTemplate, Template<V> valueTemplate)
           
NotNullableTemplate(Template<T> elementTemplate)
           
ObjectArrayTemplate(Class componentClass, Template componentTemplate)
           
 

Constructor parameters in org.msgpack.template with type arguments of type Template
GenericCollectionTemplate(TemplateRegistry registry, Class<? extends Template> tmpl)
           
GenericMapTemplate(TemplateRegistry registry, Class<? extends Template> tmpl)
           
 

Uses of Template in org.msgpack.template.builder
 

Classes in org.msgpack.template.builder that implement Template
static class JavassistTemplateBuilder.JavassistTemplate<T>
           
protected static class ReflectionTemplateBuilder.ReflectionClassTemplate<T>
           
protected static class ReflectionTemplateBuilder.ReflectionFieldTemplate
           
 

Fields in org.msgpack.template.builder declared as Template
 Template<?>[] JavassistTemplateBuilder.JavassistTemplate.templates
           
protected  Template<?>[] DefaultBuildContext.templates
           
protected  Template<?>[] BeansBuildContext.templates
           
 

Methods in org.msgpack.template.builder that return Template
protected  Template BuildContext.build(String className)
           
protected  Template DefaultBuildContext.buildInstance(Class<?> c)
           
protected abstract  Template BuildContext.buildInstance(Class<?> c)
           
protected  Template BeansBuildContext.buildInstance(Class<?> c)
           
 Template BeansBuildContext.buildTemplate(Class<?> targetClass, BeansFieldEntry[] entries, Template[] templates)
           
protected abstract  Template BuildContext.buildTemplate(Class<?> targetClass, T[] entries, Template[] templates)
           
<T> Template<T>
ReflectionTemplateBuilder.buildTemplate(Class<T> targetClass, FieldEntry[] entries)
           
<T> Template<T>
OrdinalEnumTemplateBuilder.buildTemplate(Class<T> targetClass, FieldEntry[] entries)
           
<T> Template<T>
JavassistTemplateBuilder.buildTemplate(Class<T> targetClass, FieldEntry[] entries)
           
protected
<T> Template<T>
ArrayTemplateBuilder.buildTemplate(Class<T> targetClass, FieldEntry[] entries)
           
protected abstract
<T> Template<T>
AbstractTemplateBuilder.buildTemplate(Class<T> targetClass, FieldEntry[] entries)
           
<T> Template<T>
TemplateBuilder.buildTemplate(Class<T> targetClass, FieldList flist)
           
<T> Template<T>
ArrayTemplateBuilder.buildTemplate(Class<T> targetClass, FieldList flist)
           
<T> Template<T>
AbstractTemplateBuilder.buildTemplate(Class<T> targetClass, FieldList fieldList)
           
 Template DefaultBuildContext.buildTemplate(Class targetClass, FieldEntry[] entries, Template[] templates)
           
<T> Template<T>
TemplateBuilder.buildTemplate(Type targetType)
           
<T> Template<T>
OrdinalEnumTemplateBuilder.buildTemplate(Type targetType)
           
<T> Template<T>
ArrayTemplateBuilder.buildTemplate(Type arrayType)
           
<T> Template<T>
AbstractTemplateBuilder.buildTemplate(Type targetType)
           
protected  Template BuildContext.load(String className)
           
 Template DefaultBuildContext.loadTemplate(Class<?> targetClass)
           
protected abstract  Template BuildContext.loadTemplate(Class<?> targetClass)
           
 Template BeansBuildContext.loadTemplate(Class<?> targetClass)
           
<T> Template<T>
TemplateBuilder.loadTemplate(Type targetType)
           
<T> Template<T>
JavassistTemplateBuilder.loadTemplate(Type targetType)
           
<T> Template<T>
ArrayTemplateBuilder.loadTemplate(Type targetType)
           
<T> Template<T>
AbstractTemplateBuilder.loadTemplate(Type targetType)
           
 

Methods in org.msgpack.template.builder with parameters of type Template
 Template BeansBuildContext.buildTemplate(Class<?> targetClass, BeansFieldEntry[] entries, Template[] templates)
           
protected abstract  Template BuildContext.buildTemplate(Class<?> targetClass, T[] entries, Template[] templates)
           
 Template DefaultBuildContext.buildTemplate(Class targetClass, FieldEntry[] entries, Template[] templates)
           
static void DefaultBuildContext.readPrivateField(Unpacker unpacker, Object target, String fieldName, Template tmpl)
           
static void DefaultBuildContext.writePrivateField(Packer packer, Object target, String fieldName, Template tmpl)
           
 void BeansBuildContext.writeTemplate(Class<?> targetClass, BeansFieldEntry[] entries, Template[] templates, String directoryName)
           
 void DefaultBuildContext.writeTemplate(Class<?> targetClass, FieldEntry[] entries, Template[] templates, String directoryName)
           
protected abstract  void BuildContext.writeTemplate(Class<?> targetClass, T[] entries, Template[] templates, String directoryName)
           
 

Constructors in org.msgpack.template.builder with parameters of type Template
JavassistTemplateBuilder.JavassistTemplate(Class<T> targetClass, Template<?>[] templates)
           
 

Uses of Template in org.msgpack.unpacker
 

Methods in org.msgpack.unpacker with parameters of type Template
<T> T
Unpacker.read(Template<T> tmpl)
           
<T> T
AbstractUnpacker.read(Template<T> tmpl)
           
<T> T
Unpacker.read(T to, Template<T> tmpl)
           
<T> T
AbstractUnpacker.read(T to, Template<T> tmpl)
           
 



Copyright © 2011. All Rights Reserved.