public abstract static class HTMLDocument.Iterator extends Object
Constructor and Description |
---|
Iterator() |
Modifier and Type | Method and Description |
---|---|
abstract AttributeSet |
getAttributes()
返回此标签的属性。
|
abstract int |
getEndOffset()
返回定义当前出现的标记的范围的结尾,并具有相同的属性。
|
abstract int |
getStartOffset()
返回定义标签的当前出现的范围的起始点,并具有相同的属性。
|
abstract HTML.Tag |
getTag()
迭代器代表的标签类型。
|
abstract boolean |
isValid()
指示迭代器当前是否表示标签的出现。
|
abstract void |
next()
将迭代器向前移动到下一次出现的代码。
|
public abstract AttributeSet getAttributes()
AttributeSet
,或
null
如果没有找到
public abstract int getStartOffset()
public abstract int getEndOffset()
public abstract void next()
public abstract boolean isValid()
public abstract HTML.Tag getTag()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.