JavaScript is disabled on your browser.
 
JavaScript is disabled on your browser.
 
 
  
 
 
 
 
Enclosing class: 
HTMLDocument  
public abstract static class HTMLDocument.Iterator 
extends Object  
An iterator to iterate over a particular type of
 tag.  The iterator is not thread safe.  If reliable
 access to the document is not already ensured by
 the context under which the iterator is being used,
 its use should be performed under the protection of
 Document.render.
 
 
 
 
Constructor Summary 
Constructors   
Constructor 
Description 
 
Iterator   
 
 
 
 
Method Summary 
All Methods   Instance Methods   Abstract Methods   
Modifier and Type 
Method 
Description 
 
abstract AttributeSet getAttributes 
Return the attributes for this tag.
 
 
abstract intgetEndOffset 
Returns the end of the range for which the current occurrence of
 the tag is defined and has the same attributes.
 
 
abstract intgetStartOffset 
Returns the start of the range for which the current occurrence of
 the tag is defined and has the same attributes.
 
 
abstract HTML.Tag getTag 
Type of tag this iterator represents.
 
 
abstract booleanisValid 
Indicates if the iterator is currently
 representing an occurrence of a tag.
 
 
abstract voidnext 
Move the iterator forward to the next occurrence
 of the tag it represents.
 
 
 
Methods declared in class java.lang.Object  
clone , equals , finalize , getClass , hashCode , notify , notifyAll , toString , wait , wait , wait  
 
 
 
 
 
 
Constructor Detail 
 
Iterator 
public Iterator() 
 
 
 
 
 
 
 
 
 
JavaScript is disabled on your browser.
 
 
  
 
Report a bug or suggest an enhancement Java SE Documentation , which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.Copyright  © 1993, 2025, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.license terms  and the documentation redistribution policy .