org.apache.qpid.proton.codec
Class DecoderImpl
java.lang.Object
org.apache.qpid.proton.codec.DecoderImpl
- All Implemented Interfaces:
- ByteBufferDecoder, Decoder
public class DecoderImpl
- extends Object
- implements ByteBufferDecoder
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DecoderImpl
public DecoderImpl()
register
public void register(Object descriptor,
DescribedTypeConstructor dtc)
- Specified by:
register in interface Decoder
readBoolean
public Boolean readBoolean()
- Specified by:
readBoolean in interface Decoder
readBoolean
public Boolean readBoolean(Boolean defaultVal)
- Specified by:
readBoolean in interface Decoder
readBoolean
public boolean readBoolean(boolean defaultVal)
- Specified by:
readBoolean in interface Decoder
readByte
public Byte readByte()
- Specified by:
readByte in interface Decoder
readByte
public Byte readByte(Byte defaultVal)
- Specified by:
readByte in interface Decoder
readByte
public byte readByte(byte defaultVal)
- Specified by:
readByte in interface Decoder
readShort
public Short readShort()
- Specified by:
readShort in interface Decoder
readShort
public Short readShort(Short defaultVal)
- Specified by:
readShort in interface Decoder
readShort
public short readShort(short defaultVal)
- Specified by:
readShort in interface Decoder
readInteger
public Integer readInteger()
- Specified by:
readInteger in interface Decoder
readInteger
public Integer readInteger(Integer defaultVal)
- Specified by:
readInteger in interface Decoder
readInteger
public int readInteger(int defaultVal)
- Specified by:
readInteger in interface Decoder
readLong
public Long readLong()
- Specified by:
readLong in interface Decoder
readLong
public Long readLong(Long defaultVal)
- Specified by:
readLong in interface Decoder
readLong
public long readLong(long defaultVal)
- Specified by:
readLong in interface Decoder
readUnsignedByte
public UnsignedByte readUnsignedByte()
- Specified by:
readUnsignedByte in interface Decoder
readUnsignedByte
public UnsignedByte readUnsignedByte(UnsignedByte defaultVal)
- Specified by:
readUnsignedByte in interface Decoder
readUnsignedShort
public UnsignedShort readUnsignedShort()
- Specified by:
readUnsignedShort in interface Decoder
readUnsignedShort
public UnsignedShort readUnsignedShort(UnsignedShort defaultVal)
- Specified by:
readUnsignedShort in interface Decoder
readUnsignedInteger
public UnsignedInteger readUnsignedInteger()
- Specified by:
readUnsignedInteger in interface Decoder
readUnsignedInteger
public UnsignedInteger readUnsignedInteger(UnsignedInteger defaultVal)
- Specified by:
readUnsignedInteger in interface Decoder
readUnsignedLong
public UnsignedLong readUnsignedLong()
- Specified by:
readUnsignedLong in interface Decoder
readUnsignedLong
public UnsignedLong readUnsignedLong(UnsignedLong defaultVal)
- Specified by:
readUnsignedLong in interface Decoder
readCharacter
public Character readCharacter()
- Specified by:
readCharacter in interface Decoder
readCharacter
public Character readCharacter(Character defaultVal)
- Specified by:
readCharacter in interface Decoder
readCharacter
public char readCharacter(char defaultVal)
- Specified by:
readCharacter in interface Decoder
readFloat
public Float readFloat()
- Specified by:
readFloat in interface Decoder
readFloat
public Float readFloat(Float defaultVal)
- Specified by:
readFloat in interface Decoder
readFloat
public float readFloat(float defaultVal)
- Specified by:
readFloat in interface Decoder
readDouble
public Double readDouble()
- Specified by:
readDouble in interface Decoder
readDouble
public Double readDouble(Double defaultVal)
- Specified by:
readDouble in interface Decoder
readDouble
public double readDouble(double defaultVal)
- Specified by:
readDouble in interface Decoder
readUUID
public UUID readUUID()
- Specified by:
readUUID in interface Decoder
readUUID
public UUID readUUID(UUID defaultVal)
- Specified by:
readUUID in interface Decoder
readDecimal32
public Decimal32 readDecimal32()
- Specified by:
readDecimal32 in interface Decoder
readDecimal32
public Decimal32 readDecimal32(Decimal32 defaultValue)
- Specified by:
readDecimal32 in interface Decoder
readDecimal64
public Decimal64 readDecimal64()
- Specified by:
readDecimal64 in interface Decoder
readDecimal64
public Decimal64 readDecimal64(Decimal64 defaultValue)
- Specified by:
readDecimal64 in interface Decoder
readDecimal128
public Decimal128 readDecimal128()
- Specified by:
readDecimal128 in interface Decoder
readDecimal128
public Decimal128 readDecimal128(Decimal128 defaultValue)
- Specified by:
readDecimal128 in interface Decoder
readTimestamp
public Date readTimestamp()
- Specified by:
readTimestamp in interface Decoder
readTimestamp
public Date readTimestamp(Date defaultValue)
- Specified by:
readTimestamp in interface Decoder
readBinary
public Binary readBinary()
- Specified by:
readBinary in interface Decoder
readBinary
public Binary readBinary(Binary defaultValue)
- Specified by:
readBinary in interface Decoder
readSymbol
public Symbol readSymbol()
- Specified by:
readSymbol in interface Decoder
readSymbol
public Symbol readSymbol(Symbol defaultValue)
- Specified by:
readSymbol in interface Decoder
readString
public String readString()
- Specified by:
readString in interface Decoder
readString
public String readString(String defaultValue)
- Specified by:
readString in interface Decoder
readList
public List readList()
- Specified by:
readList in interface Decoder
readList
public <T> void readList(Decoder.ListProcessor<T> processor)
- Specified by:
readList in interface Decoder
readMap
public Map readMap()
- Specified by:
readMap in interface Decoder
readArray
public <T> T[] readArray(Class<T> clazz)
- Specified by:
readArray in interface Decoder
readArray
public Object[] readArray()
- Specified by:
readArray in interface Decoder
readBooleanArray
public boolean[] readBooleanArray()
- Specified by:
readBooleanArray in interface Decoder
readByteArray
public byte[] readByteArray()
- Specified by:
readByteArray in interface Decoder
readShortArray
public short[] readShortArray()
- Specified by:
readShortArray in interface Decoder
readIntegerArray
public int[] readIntegerArray()
- Specified by:
readIntegerArray in interface Decoder
readLongArray
public long[] readLongArray()
- Specified by:
readLongArray in interface Decoder
readFloatArray
public float[] readFloatArray()
- Specified by:
readFloatArray in interface Decoder
readDoubleArray
public double[] readDoubleArray()
- Specified by:
readDoubleArray in interface Decoder
readCharacterArray
public char[] readCharacterArray()
- Specified by:
readCharacterArray in interface Decoder
readMultiple
public <T> T[] readMultiple(Class<T> clazz)
- Specified by:
readMultiple in interface Decoder
readMultiple
public Object[] readMultiple()
- Specified by:
readMultiple in interface Decoder
readByteMultiple
public byte[] readByteMultiple()
- Specified by:
readByteMultiple in interface Decoder
readShortMultiple
public short[] readShortMultiple()
- Specified by:
readShortMultiple in interface Decoder
readIntegerMultiple
public int[] readIntegerMultiple()
- Specified by:
readIntegerMultiple in interface Decoder
readLongMultiple
public long[] readLongMultiple()
- Specified by:
readLongMultiple in interface Decoder
readFloatMultiple
public float[] readFloatMultiple()
- Specified by:
readFloatMultiple in interface Decoder
readDoubleMultiple
public double[] readDoubleMultiple()
- Specified by:
readDoubleMultiple in interface Decoder
readCharacterMultiple
public char[] readCharacterMultiple()
- Specified by:
readCharacterMultiple in interface Decoder
readObject
public Object readObject()
- Specified by:
readObject in interface Decoder
readObject
public Object readObject(Object defaultValue)
- Specified by:
readObject in interface Decoder
setByteBuffer
public void setByteBuffer(ByteBuffer buffer)
- Specified by:
setByteBuffer in interface ByteBufferDecoder
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.