org.apache.qpid.management.domain.model.type
Class Str16

java.lang.Object
  extended by org.apache.qpid.management.domain.model.type.Type
      extended by org.apache.qpid.management.domain.model.type.Str16

public class Str16
extends Type


Field Summary
 
Fields inherited from class org.apache.qpid.management.domain.model.type.Type
javaType
 
Constructor Summary
Str16()
           
 
Method Summary
 Object decode(org.apache.qpid.transport.codec.Decoder decoder)
          Each concrete subclass must define here how to decode incoming data according.
 void encode(Object value, org.apache.qpid.transport.codec.Encoder encoder)
          Encodes the given values according to this type definition.
 
Methods inherited from class org.apache.qpid.management.domain.model.type.Type
equals, getJavaType, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Str16

public Str16()
Method Detail

decode

public Object decode(org.apache.qpid.transport.codec.Decoder decoder)
Description copied from class: Type
Each concrete subclass must define here how to decode incoming data according.

Specified by:
decode in class Type
Parameters:
decoder - the decoder used to extract data.
Returns:
the "typed" value.

encode

public void encode(Object value,
                   org.apache.qpid.transport.codec.Encoder encoder)
Description copied from class: Type
Encodes the given values according to this type definition.

Specified by:
encode in class Type
Parameters:
value - the value to be encoded.
encoder - the encoder.


Licensed to the Apache Software Foundation