SingleRevisionIterator(final String elementType, final Object elements, final boolean getContentImmediately) {
			if ((elementType == null) || (elementType.length() == 0))
				throw new IllegalArgumentException("elementType is null or empty");
			if (!((elements instanceof String[]) || (elements instanceof long[])))
				throw new IllegalArgumentException("elements does not have an acceptable type");
			this.elementType = elementType;
			this.elements = elements;

			getParams = paramValuesToMap("action", "query", "format", "xml", "prop", "revisions", "rvprop", "ids|flags|timestamp|user|comment|size");

			if (getContentImmediately) {
				getParams.put("rvprop", getParams.get("rvprop") + "|content");
			}

			this.getContentImmediately = getContentImmediately;

			i = -1;
		}