00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017 #import "OFString.h"
00018
00019 extern int _OFString_XMLUnescaping_reference;
00020
00021 #ifdef OF_HAVE_BLOCKS
00022 typedef OFString* (^of_string_xml_unescaping_block_t)(OFString *str,
00023 OFString *entity);
00024 #endif
00025
00030 @protocol OFStringXMLUnescapingDelegate
00041 - (OFString*)string: (OFString*)str
00042 containsUnknownEntityNamed: (OFString*)entity;
00043 @end
00044
00048 @interface OFString (XMLUnescaping)
00052 - (OFString*)stringByXMLUnescaping;
00053
00060 - (OFString*)stringByXMLUnescapingWithDelegate:
00061 (id <OFStringXMLUnescapingDelegate>)delegate;
00062
00063 #ifdef OF_HAVE_BLOCKS
00064
00070 - (OFString*)stringByXMLUnescapingWithBlock:
00071 (of_string_xml_unescaping_block_t)block;
00072 #endif
00073 @end