javax.swing.text.html
public abstract static class HTMLDocument.Iterator extends Object
Method Summary | |
---|---|
abstract 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. |
Returns: the AttributeSet
(null if none found).
Returns: the end of the range
Returns: the start of the range (-1 if it can't be found).
Returns: the tag.
Returns: true if the iterator currently represents an occurrence of the tag.