use of org.openntf.nsfodp.commons.odp.XPage in project org.openntf.nsfodp by OpenNTF.
the class ODPCompiler method importXPages.
private void importXPages(NDXLImporter importer, NDatabase database, JavaSourceClassLoader classLoader, Set<String> compiledClassNames) throws Exception {
subTask(Messages.ODPCompiler_importingXPages);
List<XPage> xpages = odp.getXPages();
for (XPage xpage : xpages) {
Document dxlDoc = importXSP(importer, database, classLoader, compiledClassNames, xpage);
importDxl(importer, NSFODPDomUtil.getXmlString(dxlDoc, null), database, MessageFormat.format(Messages.ODPCompiler_XPageLabel, xpage.getPageName()));
}
}
use of org.openntf.nsfodp.commons.odp.XPage in project org.openntf.nsfodp by OpenNTF.
the class ODPCompiler method compileXPages.
private Map<XPage, XSPCompilationResult> compileXPages(JavaSourceClassLoader classLoader) throws Exception {
subTask(Messages.ODPCompiler_compilingXPages);
Map<XPage, XSPCompilationResult> result = new LinkedHashMap<>();
for (XPage xpage : odp.getXPages()) {
XSPCompilationResult compilationResult = compileXSP(xpage, classLoader);
result.put(xpage, compilationResult);
}
return result;
}
Aggregations