javax.swing.text.html
public abstract static class HTMLDocument.Iterator extends Object
Constructor and Description |
---|
HTMLDocument.Iterator() |
Modifier and Type | Method and Description |
---|---|
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.
|
public HTMLDocument.Iterator()
public abstract AttributeSet getAttributes()
AttributeSet
(null if none found).public abstract int getEndOffset()
public abstract int getStartOffset()
public abstract void next()
public abstract boolean isValid()