Public Member Functions

<OFStringXMLUnescapingDelegate> Protocol Reference

A protocol that needs to be implemented by delegates for -[stringByXMLUnescapingWithHandler:]. More...

#import <OFString+XMLUnescaping.h>

Inheritance diagram for <OFStringXMLUnescapingDelegate>:
OFXMLParser

List of all members.

Public Member Functions

(OFString *) - string:containsUnknownEntityNamed:

Detailed Description

A protocol that needs to be implemented by delegates for -[stringByXMLUnescapingWithHandler:].


Member Function Documentation

- (OFString*) string: (OFString *)  str
containsUnknownEntityNamed: (OFString *)  entity 

This callback is called when an unknown entity was found while trying to unescape XML. The callback is supposed to return a substitution for the entity or nil if it is unknown to the callback as well, in which case an exception will be thrown.

Parameters:
str The string which contains the unknown entity
entity The name of the entity that is unknown
Returns:
A substitution for the entity or nil

The documentation for this protocol was generated from the following file:
 All Classes Functions Variables