るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
3件ヒット [1-3件を表示] (0.192秒)
トップページ > バージョン:2.2.0[x] > クエリ:next[x] > クエリ:rexml/parsers/pullparser[x]

別のキーワード

  1. rexml/document new
  2. rexml/document write
  3. rexml/document clone
  4. rexml/document node_type
  5. rexml/document to_s

ライブラリ

キーワード

検索結果

rexml/parsers/pullparser (114037.0)

プル方式の XML パーサ。

プル方式の XML パーサ。

REXML::Parsers::StreamParser はパースした結果をコールバックによって
受動的に受け取りますが、このパーサは REXML::Parsers::PullParser#pull
によってパーサから結果をイベントという形で順に能動的に取り出します。
外部的にはこのクラスのオブジェクトはイベントのキューと見なせます。
pull はそのキューの先頭を取り出し、キューから取り除きます。

pull は REXML::Parsers::PullEvent オブジェクトを返します。
このオブジェクトの
REXML::Parsers::PullEvent...

REXML::Parsers::PullParser#has_next? -> bool (42304.0)

未処理のイベントが残っている場合に真を返します。

未処理のイベントが残っている場合に真を返します。

@see REXML::Parsers::PullParser#empty?

REXML::Parsers::PullParser#empty? -> bool (24019.0)

未処理のイベントが残っていない場合に真を返します。

未処理のイベントが残っていない場合に真を返します。

@see REXML::Parsers::PullParser#has_next?