Ruby 1.9.2 リファレンスマニュアル > ライブラリ一覧 > rexmlライブラリ > REXML::Parsers::SAX2Parserクラス > add_listener
add_listener(listener)