るりまサーチ (Ruby 3.1)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.232秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:n[x] > クエリ:r[x] > バージョン:3.1[x] > クエリ:include[x] > モジュール:REXML::StreamListener[x]

別のキーワード

  1. etc sc_xopen_enh_i18n
  2. rsa n
  3. rsa n=
  4. pop n_bytes
  5. openssl n

ライブラリ

検索結果

REXML::StreamListener#entitydecl(content) -> () (36925.0)

DTDの実体宣言をパースしたときに呼び出されるコールバックメソッドです。

...ty.com/boilerplate/OpenHatch.xml">
<!ENTITY hatch-pic SYSTEM "../grafix/OpenHatch.gif" NDATA gif>
]>
<root />
EOS

class Listener
include REXML::StreamListener
def entitydecl(content); p content; end
end
REXML::Parsers::StreamParser.new(xml, Listener.new).parse
# >> ["YN", "\"Yes\"", "%"]
# >> [...