ObjFW
Classes | Typedefs
OFString+XMLUnescaping.h File Reference
#import "OFString.h"

Go to the source code of this file.

Classes

protocol  <OFStringXMLUnescapingDelegate>
 A protocol that needs to be implemented by delegates for stringByXMLUnescapingWithHandler:. More...
 

Typedefs

typedef OFString *OF_NULLABLE(^ of_string_xml_unescaping_block_t) (OFString *string, OFString *entity)
 A block which is called to replace unknown XML entities in an XML string. More...
 

Typedef Documentation

typedef OFString* OF_NULLABLE(^ of_string_xml_unescaping_block_t) (OFString *string, OFString *entity)

A block which is called to replace unknown XML entities in an XML string.

Parameters
stringThe XML string which contains an unknown entity
entityThe XML entity which is unknown
Returns
A replacement string for the unknown entity