Search in sources :

Example 6 with PageTemplateXMLReader

use of com.yahoo.search.pagetemplates.config.PageTemplateXMLReader in project vespa by vespa-engine.

the class SourceParametersTestCase method importPage.

protected PageTemplate importPage(String name) {
    PageTemplate template = new PageTemplateXMLReader().readFile(root + name);
    assertNotNull("Could look up read template '" + name + "'", template);
    return template;
}
Also used : PageTemplate(com.yahoo.search.pagetemplates.PageTemplate) PageTemplateXMLReader(com.yahoo.search.pagetemplates.config.PageTemplateXMLReader)

Aggregations

PageTemplateXMLReader (com.yahoo.search.pagetemplates.config.PageTemplateXMLReader)6 PageTemplateRegistry (com.yahoo.search.pagetemplates.PageTemplateRegistry)3 PageTemplate (com.yahoo.search.pagetemplates.PageTemplate)2 NamedReader (com.yahoo.io.reader.NamedReader)1