home *** CD-ROM | disk | FTP | other *** search
/ S283 Planetary Science &n…he Search for Life DVD 2 / DVD-ROM.iso / install / jre1_3 / lib / rt.jar / javax / swing / text / html / HTMLDocument$HTMLReader$AnchorAction.class (.txt) < prev    next >
Encoding:
Java Class File  |  1979-12-31  |  943 b   |  28 lines

  1. package javax.swing.text.html;
  2.  
  3. import javax.swing.text.MutableAttributeSet;
  4.  
  5. class HTMLDocument$HTMLReader$AnchorAction extends HTMLDocument.HTMLReader.CharacterAction {
  6.    // $FF: synthetic field
  7.    private final HTMLDocument.HTMLReader this$1;
  8.  
  9.    HTMLDocument$HTMLReader$AnchorAction(HTMLDocument.HTMLReader var1) {
  10.       super(var1);
  11.       this.this$1 = var1;
  12.    }
  13.  
  14.    public void start(HTML.Tag var1, MutableAttributeSet var2) {
  15.       this.this$1.emptyAnchor = true;
  16.       super.start(var1, var2);
  17.    }
  18.  
  19.    public void end(HTML.Tag var1) {
  20.       if (this.this$1.emptyAnchor) {
  21.          char[] var2 = new char[]{' '};
  22.          this.this$1.addContent(var2, 0, 1);
  23.       }
  24.  
  25.       super.end(var1);
  26.    }
  27. }
  28.