*/
public static final
PageDefinition getPageDefinitionDirectly(WebApp wapp, Locator locator,
Reader reader, String extension) throws IOException {
try {
return new Parser(wapp, locator).parse(reader, extension);
} catch (IOException ex) {
throw (IOException)ex;
} catch (Exception ex) {
throw UiException.Aide.wrap(ex);
}