js/ServiceFactory.js
function (smd) {
                // zyp format by default.
                var ret = new ZypSMDReader(smd, this.config.resolver);
                if (!smd.SMDVersion) {
                    //not zyp then fail.
                    throw new Error("Argument is not an SMD.");
                }
                return ret;
            }
function (smd) {
                // zyp format by default.
                var ret = new ZypSMDReader(smd, this.config.resolver);
                if (!smd.SMDVersion) {
                    //not zyp then fail.
                    throw new Error("Argument is not an SMD.");
                }
                return ret;
            }
function ( smd ) { // zyp format by default. var ret = new ZypSMDReader ( smd , this . config . resolver ) ; if ( ! smd . SMDVersion ) { //not zyp then fail. throw new Error ( "Argument is not an SMD." ) ; } return ret ; }
Retrieves a reader capable of handling the passed service descriptor.

@param {Object} smd - the service descriptor to retrieve a reader for.
Retrieves a reader capable of handling the passed service descriptor .