ObjFW
Public Member Functions
<OFStringXMLUnescapingDelegate> Protocol Reference

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

#include <OFString+XMLUnescaping.h>

Inheritance diagram for <OFStringXMLUnescapingDelegate>:
<OFObject> OFXMLParser

List of all members.

Public Member Functions

OFStringstring:containsUnknownEntityNamed: (OFString *str,[containsUnknownEntityNamed] OFString *entity)

Detailed Description

A protocol that needs to be implemented by delegates for.

-[stringByXMLUnescapingWithHandler:].


Member Function Documentation

OFString* OFStringXMLUnescapingDelegate-p::string:containsUnknownEntityNamed: ( OFString str,
[containsUnknownEntityNamed] OFString entity 
) [virtual]

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