@Test(expected = NoSuchFileException.class) public void testRequiredIncludeIsDefault() throws ParserConfigurationException, IOException, SAXException, TransformerException { File app = new File("src/test/resources/multienvapp_failrequired"); DocumentBuilder docBuilder = Xml.getPreprocessDocumentBuilder(); new IncludeProcessor(app).process(docBuilder.parse(Xml.getServices(app))); }
public Document process(Document input) throws IOException, TransformerException { Document doc = Xml.copyDocument(input); includeFile(application, doc.getDocumentElement()); return doc; }
IncludeProcessor implements PreProcessor { public Document process(Document input) throws IOException, TransformerException { Document doc = Xml.copyDocument(input); includeFile(application, doc.getDocumentElement()); return doc; } }
IncludeProcessor implements PreProcessor { public Document process(Document input) throws IOException, TransformerException { Document doc = Xml.copyDocument(input); includeFile(application, doc.getDocumentElement()); return doc; } IncludeProcessor(File application);  IncludeProcessor(FileWrapper application); }
IncludeProcessor implements PreProcessor { public Document process(Document input) throws IOException, TransformerException { Document doc = Xml.copyDocument(input); includeFile(application, doc.getDocumentElement()); return doc; } IncludeProcessor(File application);  IncludeProcessor(FileWrapper application); Document process(Document input); }
IncludeProcessor implements PreProcessor { public Document process(Document input) throws IOException, TransformerException { Document doc = Xml.copyDocument(input); includeFile(application, doc.getDocumentElement()); return doc; } IncludeProcessor(File application);  IncludeProcessor(FileWrapper application); Document process(Document input);  }