モジュール java.xml
パッケージ javax.xml.xpath

インタフェースXPathNodes

    • メソッドの詳細

      • iterator

        Iterator<Node> iterator​()
        ノードのイテレータを返します。
        定義:
        インタフェースIterable<Node>内のiterator
        戻り値:
        イテレータ。
      • size

        int size​()
        結果内のアイテム数を返します。
        戻り値:
        結果のアイテム数
      • get

        Node get​(int index)
          throws XPathException
        指定された位置にNodeを返します。
        パラメータ:
        index - 返す要素のインデックス。
        戻り値:
        指定された位置にあるノード。
        例外:
        XPathException - インデックスが範囲外である場合(index < 0 || index > = size())