public void setFactoryClass(String newClass)
    {
        if (null != newClass)
        {
            try
            {
                Class clazz = ClassHelper.getClass(newClass);
                setFactoryClass(clazz);
            }
            catch (Exception e)
            {
                // there is no such method available
                throw new MetadataException("Invalid factory class: " + newClass + ".");
            }
        }
        else
        {
            setFactoryClass((Class) null);
        }
    }
public void setFactoryClass ( String newClass ) { if ( null != newClass ) { try { Class clazz = ClassHelper . getClass ( newClass ) ; setFactoryClass ( clazz ) ; } catch ( Exception e ) { throw new MetadataException ( "Invalid factory class: " + newClass + "." ) ; } } else { setFactoryClass ( ( Class ) null ) ; } }
@see #setFactoryClass