class SupportBasedFactory implements Factory {

	@Override
	public AnalyzeStrategy create(LhsResult lhsResult) {
		if (isSupported(lhsResult)) {
			return supportedFactory.create(lhsResult);
		}
		return notSupportedFactory.create(lhsResult);
	}

}