Instance Method インスタンスメソッド

elementsForLocalName:URI:

Returns the child element nodes (as NSXMLElement objects) of the receiver that are matched with the specified local name and URI. レシーバの子要素ノードそれらを返します(NSXMLElementオブジェクトとして)、それらは指定されたローカル名とURIに一致するものです。

Declaration 宣言

- (NSArray<NSXMLElement *> *)elementsForLocalName:(NSString *)localName 
                                              URI:(NSString *)URI;

Parameters パラメータ

localName

A string specifying a local name of an element. 要素のローカル名を指定している文字列。

URI

A string specifying a URI associated with an element. 要素と結びつけられたURIを指定している文字列。

Return Value 戻り値

An array of NSXMLElement objects or an empty array if no matching children could be found. NSXMLElementオブジェクトからなるある配列、または空の配列、もし合致する子が見つけられなかったならば。

See Also 参照

Obtaining Child Elements 子要素を入手する