javax.swing.text.html
Class HTMLDocument.HTMLReader.ConvertAction
java.lang.Object
javax.swing.text.html.HTMLDocument.HTMLReader.TagAction
javax.swing.text.html.HTMLDocument.HTMLReader.ConvertAction
- Enclosing class:
- HTMLDocument.HTMLReader
- class HTMLDocument.HTMLReader.ConvertAction
- extends HTMLDocument.HTMLReader.TagAction
Provides conversion of HTML tag/attribute
mappings that have a corresponding StyleConstants
and CSS mapping. The conversion is to CSS attributes.
Method Summary |
void |
end(HTML.Tag t)
Called when an end tag is seen for the
type of tag this action was registered
to. |
void |
start(HTML.Tag t,
MutableAttributeSet attr)
Called when a start tag is seen for the
type of tag this action was registered
to. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HTMLDocument.HTMLReader.ConvertAction
HTMLDocument.HTMLReader.ConvertAction()
start
public void start(HTML.Tag t,
MutableAttributeSet attr)
- Description copied from class:
HTMLDocument.HTMLReader.TagAction
- Called when a start tag is seen for the
type of tag this action was registered
to. The tag argument indicates the actual
tag for those actions that are shared across
many tags. By default this does nothing and
completely ignores the tag.
- Overrides:
start
in class HTMLDocument.HTMLReader.TagAction
end
public void end(HTML.Tag t)
- Description copied from class:
HTMLDocument.HTMLReader.TagAction
- Called when an end tag is seen for the
type of tag this action was registered
to. The tag argument indicates the actual
tag for those actions that are shared across
many tags. By default this does nothing and
completely ignores the tag.
- Overrides:
end
in class HTMLDocument.HTMLReader.TagAction