class ReaderTGFF {

	protected void importLink(Iterator<String> it, LinkTypes<Link> linkTypes) {

		Link link = new Link(WIRE);

		String currentLine;
		String property = "";

		while (!isClosing(currentLine = it.next())) {

			// get attribute name
			if (isComment(currentLine)) {
				property = currentLine.replace(COMMENT, "").trim();
			}
			// get corresponding attribute value
			else if (!currentLine.contains("{") && !currentLine.contains("}")) {
				link.setAttribute(property, Double.valueOf(currentLine));
			}
		}
		linkTypes.put(WIRE, link);
	}

}