javax.swing.text.html

Class HTMLDocument.HTMLReader.HiddenAction

public class HTMLDocument.HTMLReader.HiddenAction extends HTMLDocument.HTMLReader.TagAction

This action indicates that the content between starting and closing HTML elements (like script - /script) should not be visible. The content is still inserted and can be accessed when iterating the HTML document. The parser will only fire {@link javax.swing.text.html.HTMLEditorKit.ParserCallback#handleText} for the hidden tags, regardless from that html tags the hidden section may contain.
Method Summary
voidend(HTML.Tag t)
Called when an end tag is seen for one of the types of tags associated with this Action.
voidstart(HTML.Tag t, MutableAttributeSet a)
This method is called when a start tag is seen for one of the types of tags associated with this Action.

Method Detail

end

public void end(HTML.Tag t)
Called when an end tag is seen for one of the types of tags associated with this Action.

start

public void start(HTML.Tag t, MutableAttributeSet a)
This method is called when a start tag is seen for one of the types of tags associated with this Action.