org.apache.qpid.agent.binding
Class ListBinding

java.lang.Object
  extended by org.apache.qpid.agent.binding.ListBinding
All Implemented Interfaces:
TypeBinding

public class ListBinding
extends Object
implements TypeBinding

Binding information from a java list to a QMF schema.


Field Summary
protected  BindingContext bctx
           
protected  Class javaClass
           
 
Constructor Summary
ListBinding(BindingContext bctx, Class javaClass)
           
 
Method Summary
 Object decode(org.apache.qpid.transport.codec.Decoder dec)
           
 void encode(org.apache.qpid.transport.codec.Encoder enc, Object value)
           
 short getCode()
           
 Class<?> getJavaClass()
           
 String getRefClass()
           
 String getRefPackage()
           
 boolean isNative()
           
 boolean optionalDefault()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

bctx

protected BindingContext bctx

javaClass

protected Class javaClass
Constructor Detail

ListBinding

public ListBinding(BindingContext bctx,
                   Class javaClass)
Method Detail

encode

public void encode(org.apache.qpid.transport.codec.Encoder enc,
                   Object value)
Specified by:
encode in interface TypeBinding

decode

public Object decode(org.apache.qpid.transport.codec.Decoder dec)
Specified by:
decode in interface TypeBinding

getCode

public short getCode()
Specified by:
getCode in interface TypeBinding

getJavaClass

public Class<?> getJavaClass()
Specified by:
getJavaClass in interface TypeBinding

getRefClass

public String getRefClass()
Specified by:
getRefClass in interface TypeBinding

getRefPackage

public String getRefPackage()
Specified by:
getRefPackage in interface TypeBinding

isNative

public boolean isNative()
Specified by:
isNative in interface TypeBinding

optionalDefault

public boolean optionalDefault()
Specified by:
optionalDefault in interface TypeBinding


Licensed to the Apache Software Foundation