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.
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.
(get-attributes this)
Return the attributes for this tag.
returns: the AttributeSet for this tag, or
null if none can be found - javax.swing.text.AttributeSet
Return the attributes for this tag. returns: the AttributeSet for this tag, or null if none can be found - `javax.swing.text.AttributeSet`
(get-end-offset this)
Returns the end of the range for which the current occurrence of the tag is defined and has the same attributes.
returns: the end of the range - int
Returns the end of the range for which the current occurrence of the tag is defined and has the same attributes. returns: the end of the range - `int`
(get-start-offset this)
Returns the start of the range for which the current occurrence of the tag is defined and has the same attributes.
returns: the start of the range, or -1 if it can't be found - int
Returns the start of the range for which the current occurrence of the tag is defined and has the same attributes. returns: the start of the range, or -1 if it can't be found - `int`
(get-tag this)
Type of tag this iterator represents.
returns: javax.swing.text.html.HTML$Tag
Type of tag this iterator represents. returns: `javax.swing.text.html.HTML$Tag`
(next this)
Move the iterator forward to the next occurrence of the tag it represents.
Move the iterator forward to the next occurrence of the tag it represents.
(valid? this)
Indicates if the iterator is currently representing an occurrence of a tag. If false there are no more tags for this iterator.
returns: true if the iterator is currently representing an
occurrence of a tag, otherwise returns false - boolean
Indicates if the iterator is currently representing an occurrence of a tag. If false there are no more tags for this iterator. returns: true if the iterator is currently representing an occurrence of a tag, otherwise returns false - `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close