Package br.com.caelum.tubaina.util

Examples of br.com.caelum.tubaina.util.XHTMLValidator


    if (resourceCopyFailed)
      throw new TubainaException("Couldn't copy some resources. See the Logger for further information");
  }

  private void validateXHTML(File directory, List<String> dirTree) {
    XHTMLValidator validator = new XHTMLValidator();
    boolean foundInvalidXHTML = false;
    for (String s : dirTree) {
      if (!validator.isValid(directory, s)){
        foundInvalidXHTML = true;
        LOG.warn("This is not a xhtml valid file: " + s + "/index.html");
      }
    }
    if (foundInvalidXHTML)
View Full Code Here


        return dirTree;
    }

    private void validateXHTML(final File directory, final List<String> dirTree) {
        XHTMLValidator validator = new XHTMLValidator();
        boolean foundInvalidXHTML = false;
        for (String s : dirTree) {
            if (!validator.isValid(directory, s)) {
                foundInvalidXHTML = true;
                LOG.warn("This is not a xhtml valid file: " + s + "/index.html");
            }
        }
        if (foundInvalidXHTML) {
View Full Code Here

TOP

Related Classes of br.com.caelum.tubaina.util.XHTMLValidator

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.