1 package eu.fbk.dkm.pikes.resources.reader; 2 3 import java.util.ArrayList; 4 import java.util.HashMap; 5 6 public class LKAnnotatedText { 7 8 public String rawText; 9 public ArrayList<LKAnnotationLayer> layers; 10 11 public HashMap<String, String> metaInfo; 12 13 public LKAnnotationLayer getLayer(String provides) { 14 for(LKAnnotationLayer l: layers) 15 if(l.provides.equals(provides)) 16 return l; 17 return null; 18 } 19 20 } 21