Examples of XMLBody


Examples of org.ajax4jsf.builder.xml.XMLBody

  /**
   * @param file
   * @return
   */
  private String getXMLBody(File file) {
    XMLBody body = new XMLBody();
    try {
      body.loadXML(new FileInputStream(file));
      if (body.isRootName(getRootTag())) {
        return body.getContent();
      }
    } catch (FileNotFoundException e) {
      getLog().warn("Not found include file ", e);
    } catch (ParsingException e) {
      getLog().warn("Error parsing include file ", e);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.