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

java.lang.Object
  extended byjavax.swing.text.html.HTMLDocument.HTMLReader.TagAction
      extended byjavax.swing.text.html.HTMLDocument.HTMLReader.HiddenAction
          extended byjavax.swing.text.html.HTMLDocument.HTMLReader.LinkAction
Enclosing class:
HTMLDocument.HTMLReader

class HTMLDocument.HTMLReader.LinkAction
extends HTMLDocument.HTMLReader.HiddenAction

A subclass to add the AttributeSet to styles if the attributes contains an attribute for 'rel' with value 'stylesheet' or 'alternate stylesheet'.


Constructor Summary
(package private) HTMLDocument.HTMLReader.LinkAction()
           
 
Method Summary
 void start(HTML.Tag t, MutableAttributeSet a)
          Called when a start tag is seen for the type of tag this action was registered to.
 
Methods inherited from class javax.swing.text.html.HTMLDocument.HTMLReader.HiddenAction
end, isEmpty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLDocument.HTMLReader.LinkAction

HTMLDocument.HTMLReader.LinkAction()
Method Detail

start

public void start(HTML.Tag t,
                  MutableAttributeSet a)
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.HiddenAction