ObjFW
Public Member Functions
<OFStringXMLUnescapingDelegate> Protocol Reference

A protocol that needs to be implemented by delegates for. More...

#import <OFString+XMLUnescaping.h>

Inheritance diagram for <OFStringXMLUnescapingDelegate>:
<OFObject> OFXMLParser

List of all members.

Public Member Functions

(OFString *) - string:containsUnknownEntityNamed:
 This callback is called when an unknown entity was found while trying to unescape XML.

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:
strThe string which contains the unknown entity
entityThe 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 Properties