javax.swing.text.html
Class HTMLDocument.HTMLReader.HiddenAction
java.lang.Object
javax.swing.text.html.HTMLDocument.HTMLReader.TagAction
javax.swing.text.html.HTMLDocument.HTMLReader.HiddenAction
- Enclosing class:
- HTMLDocument.HTMLReader
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
HTMLEditorKit.ParserCallback.handleText(char[], int)
for
the hidden tags, regardless from that html tags the hidden section may
contain.
Method Summary |
void |
end(HTML.Tag t)
Called when an end tag is seen for one of the types of tags associated
with this Action. |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLDocument.HTMLReader.HiddenAction
public HTMLDocument.HTMLReader.HiddenAction()
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.
- Overrides:
start
in class HTMLDocument.HTMLReader.TagAction
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.
- Overrides:
end
in class HTMLDocument.HTMLReader.TagAction