Package org.w3c.jigsaw.html

Examples of org.w3c.jigsaw.html.HtmlGenerator


        request.setState("tidy", "ok");
    } else {
        if (getValidStrict() == true ){
      // tidy failed and a file MUST validate -> refuse put
      Reply reply = request.makeReply(HTTP.FORBIDDEN) ;
      HtmlGenerator g = new HtmlGenerator("Not Acceptable");
      g.append("<p>This HTML code does not validate. Valid"
         + "code is required here</p>"
         + "<p>Warnings: " + tidy.getParseWarnings()
           + " Errors: "+tidy.getParseErrors()+"</p>");

      reply.setStream(g);
View Full Code Here

TOP

Related Classes of org.w3c.jigsaw.html.HtmlGenerator

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.