javax.swing.text.html
Class HTMLDocument.HTMLReader.ConvertAction

java.lang.Object
  extended byjavax.swing.text.html.HTMLDocument.HTMLReader.TagAction
      extended byjavax.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.


Constructor Summary
(package private) HTMLDocument.HTMLReader.ConvertAction()
           
 
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
 

Constructor Detail

HTMLDocument.HTMLReader.ConvertAction

HTMLDocument.HTMLReader.ConvertAction()
Method Detail

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