org.apache.qpid.proton.codec
Interface Data
public interface Data
free
void free()
clear
void clear()
size
long size()
rewind
void rewind()
next
Data.DataType next()
prev
Data.DataType prev()
enter
boolean enter()
exit
boolean exit()
lookup
boolean lookup(String name)
type
Data.DataType type()
encode
Binary encode()
encode
long encode(ByteBuffer buf)
decode
long decode(ByteBuffer buf)
putList
void putList()
putMap
void putMap()
putArray
void putArray(boolean described,
Data.DataType type)
putDescribed
void putDescribed()
putNull
void putNull()
putBoolean
void putBoolean(boolean b)
putUnsignedByte
void putUnsignedByte(UnsignedByte ub)
putByte
void putByte(byte b)
putUnsignedShort
void putUnsignedShort(UnsignedShort us)
putShort
void putShort(short s)
putUnsignedInteger
void putUnsignedInteger(UnsignedInteger ui)
putInt
void putInt(int i)
putChar
void putChar(int c)
putUnsignedLong
void putUnsignedLong(UnsignedLong ul)
putLong
void putLong(long l)
putTimestamp
void putTimestamp(Date t)
putFloat
void putFloat(float f)
putDouble
void putDouble(double d)
putDecimal32
void putDecimal32(Decimal32 d)
putDecimal64
void putDecimal64(Decimal64 d)
putDecimal128
void putDecimal128(Decimal128 d)
putUUID
void putUUID(UUID u)
putBinary
void putBinary(Binary bytes)
putBinary
void putBinary(byte[] bytes)
putString
void putString(String string)
putSymbol
void putSymbol(Symbol symbol)
putObject
void putObject(Object o)
putJavaMap
void putJavaMap(Map<Object,Object> map)
putJavaList
void putJavaList(List<Object> list)
putJavaArray
void putJavaArray(Object[] array)
putDescribedType
void putDescribedType(DescribedType dt)
getList
long getList()
getMap
long getMap()
getArray
long getArray()
isArrayDescribed
boolean isArrayDescribed()
getArrayType
Data.DataType getArrayType()
isDescribed
boolean isDescribed()
isNull
boolean isNull()
getBoolean
boolean getBoolean()
getUnsignedByte
UnsignedByte getUnsignedByte()
getByte
byte getByte()
getUnsignedShort
UnsignedShort getUnsignedShort()
getShort
short getShort()
getUnsignedInteger
UnsignedInteger getUnsignedInteger()
getInt
int getInt()
getChar
int getChar()
getUnsignedLong
UnsignedLong getUnsignedLong()
getLong
long getLong()
getTimestamp
Date getTimestamp()
getFloat
float getFloat()
getDouble
double getDouble()
getDecimal32
Decimal32 getDecimal32()
getDecimal64
Decimal64 getDecimal64()
getDecimal128
Decimal128 getDecimal128()
getUUID
UUID getUUID()
getBinary
Binary getBinary()
getString
String getString()
getSymbol
Symbol getSymbol()
getObject
Object getObject()
getJavaMap
Map<Object,Object> getJavaMap()
getJavaList
List<Object> getJavaList()
getJavaArray
Object[] getJavaArray()
getDescribedType
DescribedType getDescribedType()
copy
void copy(Data src)
append
void append(Data src)
appendn
void appendn(Data src,
int limit)
narrow
void narrow()
widen
void widen()
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.