code: public Object fromStream(final String iStream) {
      if (iStream == null || iStream.length() == 0)
        // NULL VALUE
        return null;
  
      OSerializableStream instance = null;
  
      int propertyPos = iStream.indexOf(':');
      int pos = iStream.indexOf(OStreamSerializerHelper.SEPARATOR);
      if (pos < 0 || propertyPos > -1 && pos > propertyPos) {
        instance = new ODocument();
        pos = -1;
      } else {
        final String className = iStream.substring(0, pos);
        try {
          final Class<?> clazz = Class.forName(className);
          instance = (OSerializableStream) clazz.newInstance();
        } catch (Exception e) {
          OLogManager.instance().error(this, "Error on unmarshalling content. Class: " + className, e, OSerializationException.class);
        }
      }
  
      instance.fromStream(OBase64Utils.decode(iStream.substring(pos + 1)));
      return instance;
    }
docs: Re-Create any object if the class has a public constructor that accepts a String as unique parameter.