public class XMLCodec
extends java.lang.Object
implements jadex.bridge.service.types.message.ICodec
| Modifier and Type | Field and Description |
|---|---|
static byte |
CODEC_ID
The xml codec id.
|
| Constructor and Description |
|---|
XMLCodec() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
decode(java.lang.Object bytes,
java.lang.ClassLoader classloader,
jadex.commons.transformation.binaryserializer.IErrorReporter rep)
Decode an object.
|
java.lang.Object |
encode(java.lang.Object val,
java.lang.ClassLoader classloader,
jadex.bridge.service.types.message.IEncodingContext context)
Encode an object.
|
byte |
getCodecId()
Get the codec id.
|
public static final byte CODEC_ID
public byte getCodecId()
getCodecId in interface jadex.bridge.service.types.message.ICodecpublic java.lang.Object encode(java.lang.Object val,
java.lang.ClassLoader classloader,
jadex.bridge.service.types.message.IEncodingContext context)
encode in interface jadex.bridge.service.types.message.ICodecobj - The object.java.io.IOExceptionpublic java.lang.Object decode(java.lang.Object bytes,
java.lang.ClassLoader classloader,
jadex.commons.transformation.binaryserializer.IErrorReporter rep)
decode in interface jadex.bridge.service.types.message.ICodecjava.io.IOException