jp.develop.common.util.amf.encoder
Interface IEncoder<T>

Type Parameters:
T - Target type of encoder.
All Known Implementing Classes:
ArrayCollectionEncoder, ArrayEncoder, BeanEncoder, CollectionEncoder, DictionaryEncoder, EnumObjectEncoder, EnumStringEncoder, ExternalizableEncoder, MapArrayEncoder, MapDynamicEncoder, MapSealedEncoder

public interface IEncoder<T>

General purpose AMF encoder Interface.

Author:
Waki Takeya

Nested Class Summary
static interface IEncoder.IArrayEncoder<T>
          AMF encoder interface for array.
static interface IEncoder.IDictionaryEncoder<T>
          AMF encoder interface for dictionary.
static interface IEncoder.IObjectEncoder<T>
          AMF encoder interface for object.
 
Method Summary
 void encode(AmfEncoder encoder, T object)
          Encode to Action Message Format(AMF).
 

Method Detail

encode

void encode(AmfEncoder encoder,
            T object)
            throws IOException
Encode to Action Message Format(AMF).

Parameters:
encoder - AMF encoder.
object - Object to be encoded.
Throws:
IOException - I/O Exception.