Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.swing.text.html
Class HTMLDocument.Iterator  view HTMLDocument.Iterator download HTMLDocument.Iterator.java

java.lang.Object
  extended byjavax.swing.text.html.HTMLDocument.Iterator
Direct Known Subclasses:
HTMLDocument.LeafIterator
Enclosing class:
HTMLDocument

public abstract static class HTMLDocument.Iterator
extends java.lang.Object

An iterator over a particular type of tag.


Constructor Summary
HTMLDocument.Iterator()
           
 
Method Summary
abstract  javax.swing.text.AttributeSet getAttributes()
          Return the attribute set for this tag.
abstract  int getEndOffset()
          Get the end of the range for the current occurrence of the tag being defined and having the same attributes.
abstract  int getStartOffset()
          Get the start of the range for the current occurrence of the tag being defined and having the same attributes.
abstract  HTML.Tag getTag()
          Type of tag this iterator represents.
abstract  boolean isValid()
          Indicates whether or not the iterator currently represents an occurrence of the tag.
abstract  void next()
          Move the iterator forward.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLDocument.Iterator

public HTMLDocument.Iterator()
Method Detail

getAttributes

public abstract javax.swing.text.AttributeSet getAttributes()
Return the attribute set for this tag.


getEndOffset

public abstract int getEndOffset()
Get the end of the range for the current occurrence of the tag being defined and having the same attributes.


getStartOffset

public abstract int getStartOffset()
Get the start of the range for the current occurrence of the tag being defined and having the same attributes.


next

public abstract void next()
Move the iterator forward.


isValid

public abstract boolean isValid()
Indicates whether or not the iterator currently represents an occurrence of the tag.


getTag

public abstract HTML.Tag getTag()
Type of tag this iterator represents.