Package org.zkoss.zk.ui.metainfo

Examples of org.zkoss.zk.ui.metainfo.Parser


   */
  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);
    }
View Full Code Here


   */
  public static final
  PageDefinition getPageDefinitionDirectly(WebApp wapp, Locator locator,
  Document doc, String extension) {
    try {
      return new Parser(wapp, locator).parse(doc, extension);
    } catch (Exception ex) {
      throw UiException.Aide.wrap(ex);
    }
  }
View Full Code Here

    //-- super --//
    protected Object parse(String path, File file, Object extra)
    throws Exception {
      final Locator locator =
        extra != null ? (Locator)extra: getLocator(_wapp, path);
      return new Parser(_wapp, locator).parse(file, path);
    }
View Full Code Here

    }
    protected Object parse(String path, URL url, Object extra)
    throws Exception {
      final Locator locator =
        extra != null ? (Locator)extra: getLocator(_wapp, path);
      return new Parser(_wapp, locator).parse(url, path);
    }
View Full Code Here

TOP

Related Classes of org.zkoss.zk.ui.metainfo.Parser

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.