org.apache.qpid.proton.codec
Interface TypeEncoding<V>

All Known Subinterfaces:
ArrayType.ArrayEncoding, BooleanType.BooleanEncoding, IntegerType.IntegerEncoding, LongType.LongEncoding, PrimitiveTypeEncoding<T>, StringType.StringEncoding, SymbolType.SymbolEncoding, UnsignedIntegerType.UnsignedIntegerEncoding, UnsignedLongType.UnsignedLongEncoding
All Known Implementing Classes:
ByteType.ByteEncoding, CharacterType.CharacterEncoding, DoubleType.DoubleEncoding, FloatType.FloatEncoding, ShortType.ShortEncoding, UnsignedByteType.UnsignedByteEncoding

public interface TypeEncoding<V>


Method Summary
 boolean encodesJavaPrimitive()
           
 boolean encodesSuperset(TypeEncoding<V> encoder)
           
 int getConstructorSize()
           
 AMQPType<V> getType()
           
 int getValueSize(V val)
           
 boolean isFixedSizeVal()
           
 void writeConstructor()
           
 void writeValue(V val)
           
 

Method Detail

getType

AMQPType<V> getType()

writeConstructor

void writeConstructor()

getConstructorSize

int getConstructorSize()

writeValue

void writeValue(V val)

getValueSize

int getValueSize(V val)

isFixedSizeVal

boolean isFixedSizeVal()

encodesSuperset

boolean encodesSuperset(TypeEncoding<V> encoder)

encodesJavaPrimitive

boolean encodesJavaPrimitive()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.