/**
*/
protected Object toObject(AbsObject abs, String lcType, Ontology globalOnto) throws UnknownSchemaException, UngroundedException, OntologyException {
if (SERIALIZABLE.equals(abs.getTypeName())) {
try {
AbsPrimitive absValue = (AbsPrimitive) abs.getAbsObject(SERIALIZABLE_VALUE);
String stringValue = absValue.getString();
byte[] value = Base64.decodeBase64(stringValue.getBytes("US-ASCII"));
ObjectInput in = new ObjectInputStream(new ByteArrayInputStream(value)) {
protected Class resolveClass(ObjectStreamClass v) throws IOException, ClassNotFoundException {
if (myClassLoader != null) {
// FIXME: Manage primitive class fields. Refactor with AgentMobilityService