|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectjp.savethememory.manage.util.SpecifiedElementIterator
public class SpecifiedElementIterator
Node内の指定したタグ名のElementNodeに対するイテレータクラスです。
ただし、remove()メソッドはサポートしません。
コンストラクタの概要 | |
---|---|
SpecifiedElementIterator(org.w3c.dom.Node node,
java.lang.String tag)
SpecifiedElementIteratorクラスを構築します。 |
メソッドの概要 | |
---|---|
boolean |
hasNext()
繰り返し処理でさらに要素がある場合に true を返します。 |
org.w3c.dom.Element |
next()
繰り返し処理で次の要素を返します。 |
void |
remove()
基になるコレクションから、反復子によって最後に返された要素を削除します (任意のオペレーション)。 |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public SpecifiedElementIterator(org.w3c.dom.Node node, java.lang.String tag)
node
- イテレータの対象となるNodetag
- 指定するTag名メソッドの詳細 |
---|
public boolean hasNext()
java.util.Iterator<org.w3c.dom.Element>
内の hasNext
public org.w3c.dom.Element next()
java.util.Iterator<org.w3c.dom.Element>
内の next
public void remove()
java.util.Iterator<org.w3c.dom.Element>
内の remove
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |