/[classpath]/classpath/javax/swing/text/html/parser/Parser.java
ViewVC logotype

Diff of /classpath/javax/swing/text/html/parser/Parser.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mark, Sat Jul 2 20:32:51 2005 UTC revision 1.5 by trebligd, Wed Jul 27 08:09:37 2005 UTC
# Line 327  public class Parser Line 327  public class Parser
327     * Handle the tag with no content, like <br>. The method is     * Handle the tag with no content, like <br>. The method is
328     * called for the elements that, in accordance with the current DTD,     * called for the elements that, in accordance with the current DTD,
329     * has an empty content.     * has an empty content.
330     * @param The tag being handled.     * @param tag The tag being handled.
331     * @throws javax.swing.text.ChangedCharSetException     * @throws javax.swing.text.ChangedCharSetException
332     */     */
333    protected void handleEmptyTag(TagElement tag)    protected void handleEmptyTag(TagElement tag)
# Line 339  public class Parser Line 339  public class Parser
339     * The method is called when the HTML closing tag ((like </table>)     * The method is called when the HTML closing tag ((like </table>)
340     * is found or if the parser concludes that the one should be present     * is found or if the parser concludes that the one should be present
341     * in the current position.     * in the current position.
342     * @param The tag being handled     * @param tag The tag being handled
343     */     */
344    protected void handleEndTag(TagElement tag)    protected void handleEndTag(TagElement tag)
345    {    {
# Line 354  public class Parser Line 354  public class Parser
354     * The method is called when the HTML opening tag ((like <table>)     * The method is called when the HTML opening tag ((like <table>)
355     * is found or if the parser concludes that the one should be present     * is found or if the parser concludes that the one should be present
356     * in the current position.     * in the current position.
357     * @param The tag being handled     * @param tag The tag being handled
358     */     */
359    protected void handleStartTag(TagElement tag)    protected void handleStartTag(TagElement tag)
360    {    {
# Line 383  public class Parser Line 383  public class Parser
383     * both title starting and closing tags are already behind.     * both title starting and closing tags are already behind.
384     * The passed argument contains the concatenation of all     * The passed argument contains the concatenation of all
385     * title text sections.     * title text sections.
386     * @param The title text.     * @param title The title text.
387     */     */
388    protected void handleTitle(char[] title)    protected void handleTitle(char[] title)
389    {    {
# Line 402  public class Parser Line 402  public class Parser
402    
403    /**    /**
404     * Constructs the tag from the given element.     * Constructs the tag from the given element.
405     * @param the tag base {@link javax.swing.text.html.parser.Element}     * @param element the tag base {@link javax.swing.text.html.parser.Element}
406     * @param isSupposed true if the tag is not actually present in the     * @param isSupposed true if the tag is not actually present in the
407     * html input, but the parser supposes that it should to occur in     * html input, but the parser supposes that it should to occur in
408     * the current location.     * the current location.
# Line 427  public class Parser Line 427  public class Parser
427     * is found or if the parser concludes that the one should be present     * is found or if the parser concludes that the one should be present
428     * in the current position. The method is called immediately before     * in the current position. The method is called immediately before
429     * calling the handleStartTag.     * calling the handleStartTag.
430     * @param The tag     * @param tag The tag
431     */     */
432    protected void startTag(TagElement tag)    protected void startTag(TagElement tag)
433      throws ChangedCharSetException      throws ChangedCharSetException

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26