Scenario parseLine(String line) {

		String delimiter = type.getDelimiter();

		StringTokenizer tokenizer = new StringTokenizer(line, delimiter);

		String result = null;
		List<String> criteria = new LinkedList<String>();

		while (tokenizer.hasMoreTokens()) {

			String element = tokenizer.nextToken();

			element = element.trim();

			if (result == null) {

				result = element;

			} else {

				criteria.add(element);

			}

		}

		int size = criteria.size();

		Value[] values = new Value[size];

		int index = 0;

		for (String criterion : criteria) {

			values[index] = new Value(criterion);

			index++;

		}

		Scenario scenario = new Scenario(new Value(result), values);

		return scenario;

	}