Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/AnnotationsParser.java @ 763:8076f6a689d0
First part of flys/issue18
flys-backend/trunk@2124 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 15 Jun 2011 09:22:00 +0000 |
parents | 9f2204ed79ed |
children | 763c4137d6e1 |
comparison
equal
deleted
inserted
replaced
762:23fe9ac1c3b4 | 763:8076f6a689d0 |
---|---|
122 } | 122 } |
123 } | 123 } |
124 | 124 |
125 ImportRange range = new ImportRange(from, to); | 125 ImportRange range = new ImportRange(from, to); |
126 | 126 |
127 ImportAnnotationType type = null; // TODO: do classification | |
128 | |
127 ImportAnnotation annotation = new ImportAnnotation( | 129 ImportAnnotation annotation = new ImportAnnotation( |
128 attribute, position, range, edge); | 130 attribute, position, range, edge, type); |
129 | 131 |
130 if (!annotations.add(annotation)) { | 132 if (!annotations.add(annotation)) { |
131 log.debug("duplicated annotation in line " | 133 log.debug("duplicated annotation in line " |
132 + in.getLineNumber()); | 134 + in.getLineNumber()); |
133 } | 135 } |