jp.develop.common.util.amf.encoder
Class EnumStringEncoder
java.lang.Object
jp.develop.common.util.amf.encoder.EnumStringEncoder
- All Implemented Interfaces:
- IEncoder<Enum<?>>
public class EnumStringEncoder
- extends Object
- implements IEncoder<Enum<?>>
Implementation of IEncoder.IObjectEncoder for encoding Enum as String.
- Author:
- Waki Takeya
- See Also:
IEncoder
EnumStringEncoder
public EnumStringEncoder()
encode
public void encode(AmfEncoder encoder,
Enum<?> value)
throws IOException
- Encode to Action Message Format(AMF).
- Specified by:
encode
in interface IEncoder<Enum<?>>
- Parameters:
encoder
- AMF encoder.value
- Object to be encoded.
- Throws:
IOException
- I/O Exception.