static RenderingStrategy makeNew(int model)
static RenderingStrategy makeNew(RenderingModel model)
	static RenderingStrategy makeNew(int model)	{		RenderingStrategy strategy = null;		try {			switch (model) {				case RenderingDefConstants.GS:					strategy = new GreyScaleStrategy();					break;				case RenderingDefConstants.HSB:                    strategy = new HSBStrategy();                    break;				case RenderingDefConstants.RGB:					strategy = new RGBStrategy();					break;				default:					//Set the GreyScaleStrategy as the default one.					strategy = new GreyScaleStrategy();					//TODO: log debug?			}			} catch(NumberFormatException nfe) {   			throw new RuntimeException("Invalid model ID "+model+".", nfe);		} 		return strategy;	}