Html Parser using java
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/904293/is-there-a-validating-html-parser-implemented-in-java">Is there a validating HTML parser implemented in Java?</a>  </p>
</blockquote>



<p>Hi,</p>

<p>Is there is any API which parse the HTML text using java.</p>

<p>All the function should in the format of Objects</p>

<p>e.g. In the following text i want to Parse the HTML file
and parser should return me the list of tags , attribute ..</p>

<pre><code>&lt;HTML&gt;
&lt;BODY&gt;
    &lt;INPUT TYPE="text" value="100"&gt;
&lt;/BODY&gt;
&lt;/HTML&gt;
</code></pre>

<p>Thanks</p>
