Home | History | Annotate | Download | only in res
      1 package com.xtremelabs.robolectric.res;
      2 
      3 import org.w3c.dom.Document;
      4 
      5 import java.io.File;
      6 
      7 public abstract class XmlLoader {
      8     protected ResourceExtractor resourceExtractor;
      9     protected boolean strictI18n = false;
     10 
     11     public XmlLoader(ResourceExtractor resourceExtractor) {
     12         this.resourceExtractor = resourceExtractor;
     13     }
     14 
     15     protected abstract void processResourceXml(File xmlFile, Document document, boolean isSystem) throws Exception;
     16 
     17     public void setStrictI18n(boolean strict) {
     18     	this.strictI18n = strict;
     19     }
     20 }
     21