|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
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 | ||
---|---|---|
|
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
|
MessagePack.pack(OutputStream out,
T v,
Template<T> template)
Deprecated. MessagePack.write(OutputStream, Object, Template) |
|
static
|
MessagePack.pack(T v,
Template<T> template)
Deprecated. MessagePack.write(Object, Template) |
|
|
MessagePack.read(byte[] bytes,
Template<T> tmpl)
Deserializes byte array to object according to template. |
|
|
MessagePack.read(byte[] bytes,
T v,
Template<T> tmpl)
Deserializes byte array to object according to specified template. |
|
|
MessagePack.read(ByteBuffer b,
Template<T> tmpl)
Deserializes buffer to object according to template. |
|
|
MessagePack.read(ByteBuffer b,
T v,
Template<T> tmpl)
Deserializes buffer to object according to template. |
|
|
MessagePack.read(InputStream in,
Template<T> tmpl)
Deserializes input stream to object according to template. |
|
|
MessagePack.read(InputStream in,
T v,
Template<T> tmpl)
Deserializes input stream to object according to template |
|
|
MessagePack.register(Class<T> type,
Template<T> template)
Registers specified Template object
associated by class. |
|
static
|
MessagePack.unpack(byte[] bytes,
Template<T> template)
Deprecated. |
|
static
|
MessagePack.unpack(byte[] bytes,
Template<T> template,
T to)
Deprecated. |
|
static
|
MessagePack.unpack(InputStream in,
Template<T> tmpl)
Deprecated. |
|
static
|
MessagePack.unpack(InputStream in,
Template<T> tmpl,
T to)
Deprecated. |
|
|
MessagePack.write(OutputStream out,
T v,
Template<T> template)
Serializes object to output stream by specified template. |
|
|
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
|
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
|
Templates.tList(Template<E> elementTemplate)
|
|
static Template |
Templates.tLong()
Deprecated. |
|
static
|
Templates.tMap(Template<K> keyTemplate,
Template<V> valueTemplate)
|
|
static
|
Templates.tNotNullable(Template<T> innerTemplate)
|
|
static
|
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
|
Templates.tCollection(Template<E> elementTemplate)
|
|
static
|
Templates.tList(Template<E> elementTemplate)
|
|
static
|
Templates.tMap(Template<K> keyTemplate,
Template<V> valueTemplate)
|
|
static
|
Templates.tMap(Template<K> keyTemplate,
Template<V> valueTemplate)
|
|
static
|
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)
|
|
|
ReflectionTemplateBuilder.buildTemplate(Class<T> targetClass,
FieldEntry[] entries)
|
|
|
OrdinalEnumTemplateBuilder.buildTemplate(Class<T> targetClass,
FieldEntry[] entries)
|
|
|
JavassistTemplateBuilder.buildTemplate(Class<T> targetClass,
FieldEntry[] entries)
|
|
protected
|
ArrayTemplateBuilder.buildTemplate(Class<T> targetClass,
FieldEntry[] entries)
|
|
protected abstract
|
AbstractTemplateBuilder.buildTemplate(Class<T> targetClass,
FieldEntry[] entries)
|
|
|
TemplateBuilder.buildTemplate(Class<T> targetClass,
FieldList flist)
|
|
|
ArrayTemplateBuilder.buildTemplate(Class<T> targetClass,
FieldList flist)
|
|
|
AbstractTemplateBuilder.buildTemplate(Class<T> targetClass,
FieldList fieldList)
|
|
Template |
DefaultBuildContext.buildTemplate(Class targetClass,
FieldEntry[] entries,
Template[] templates)
|
|
|
TemplateBuilder.buildTemplate(Type targetType)
|
|
|
OrdinalEnumTemplateBuilder.buildTemplate(Type targetType)
|
|
|
ArrayTemplateBuilder.buildTemplate(Type arrayType)
|
|
|
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)
|
|
|
TemplateBuilder.loadTemplate(Type targetType)
|
|
|
JavassistTemplateBuilder.loadTemplate(Type targetType)
|
|
|
ArrayTemplateBuilder.loadTemplate(Type targetType)
|
|
|
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 | ||
---|---|---|
|
Unpacker.read(Template<T> tmpl)
|
|
|
AbstractUnpacker.read(Template<T> tmpl)
|
|
|
Unpacker.read(T to,
Template<T> tmpl)
|
|
|
AbstractUnpacker.read(T to,
Template<T> tmpl)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |