Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.htmlparser.tests
Class BenchmarkTidy  view BenchmarkTidy download BenchmarkTidy.java

java.lang.Object
  extended byorg.htmlparser.tests.BenchmarkTidy

public class BenchmarkTidy
extends java.lang.Object

Title: Apache Jakarta JMeter
Copyright: Copyright (c) Apache
Company: Apache
License:

The license is at the top!

Description:

This is a quick class to benchmark tidy against htmlparser. It is pretty basic and uses the same process as the original image parsing code in JMeter 1.9.0 and earlier.

Author: pete
Version: 0.1
Created on: Sep 30, 2003
Last Modified: 7:41:39 AM


Field Summary
protected static java.lang.String utfEncodingName
           
 
Constructor Summary
BenchmarkTidy(java.lang.String data)
           
 
Method Summary
protected static org.w3c.dom.Node getDOM(java.lang.String text)
           
protected static org.w3c.tidy.Tidy getParser()
           
protected static java.lang.String getUTFEncodingName()
           
static void main(java.lang.String[] args)
           
protected  void parseNodes(org.w3c.dom.Document html, java.lang.String htmlTag, boolean type, java.lang.String srcTag)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

utfEncodingName

protected static java.lang.String utfEncodingName
Constructor Detail

BenchmarkTidy

public BenchmarkTidy(java.lang.String data)
Method Detail

parseNodes

protected void parseNodes(org.w3c.dom.Document html,
                          java.lang.String htmlTag,
                          boolean type,
                          java.lang.String srcTag)

getParser

protected static org.w3c.tidy.Tidy getParser()

getDOM

protected static org.w3c.dom.Node getDOM(java.lang.String text)
                                  throws org.xml.sax.SAXException

getUTFEncodingName

protected static java.lang.String getUTFEncodingName()

main

public static void main(java.lang.String[] args)