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

parser:resolveExternalEntityName:systemID:

Sent by a parser object to its delegate when it encounters a given external entity with a specific system ID. パーサーオブジェクトによってそれの委任先へと送られます、それがある与えられた外部エンティティとある特定のシステムIDで遭遇する時に。

Declaration 宣言

- (NSData *)parser:(NSXMLParser *)parser 
resolveExternalEntityName:(NSString *)name 
          systemID:(NSString *)systemID;

Parameters パラメータ

parser

A parser object. パーサーオブジェクト。

entityName

A string that specifies the external name of an entity. ある文字列、それはあるエンティティの外部名を指定します。

systemID

A string that specifies the system ID for the external entity. ある文字列、それは外部エンティティに対するシステムIDを指定します。

Return Value 戻り値

An NSData object that contains the resolution of the given external entity. あるNSDataオブジェクト、それは与えられた外部エンティティの解決を含みます。

Discussion 議論

The delegate can resolve the external entity (for example, locating and reading an externally declared DTD) and provide the result to the parser object as an NSData object. 委任先は、外部エンティティを解決できます(例えば、外部的に宣言されたDTDの位置決めと読み出し)そして結果をパーサーオブジェクトにNSDataオブジェクトとして提供します。

See Also 参照

Handling XML XMLを取り扱う

Related Documentation 関連文書