XMLの特定の要素だけをパースしたい場合がある。他のメソッドやクラスにパース処理を委譲してしまいたいのが主な理由だ。 <resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> <array name="preloaded_drawables"> <item>@drawable/indicator_code_lock_drag_direction_green_up</item> <item>@drawable/indicator_code_lock_drag_direction_red_up</item> </array> <array name="preloaded_color_state_lists"> <item>@color/hint_foreground_dark</item> <item>@color/hint