String key = null;
BasicValueModel model = new BasicValueModel();
boolean hasContinuation=false;
while((line =scanner.line())!=null){
if(hasContinuation){ // previous line has continuation
model.addValue(line.logicalLineContents()); // so collect the current line
if(line.hasContinuation()){ // if current line has continuation
continue; // then continue our tight collection loop
}else{
hasContinuation=false; // the continuation has ended