@@ -14,10 +14,11 @@ #import "OFXMLAttribute.h" @class OFXMLParser; @class OFArray; @class OFMutableArray; +@class OFStream; #if defined(OF_HAVE_PROPERTIES) && defined(OF_HAVE_BLOCKS) typedef void (^of_xml_parser_processing_instructions_block_t)( OFXMLParser *parser, OFString *pi); typedef void (^of_xml_parser_element_start_block_t)(OFXMLParser *parser, @@ -300,10 +301,17 @@ * * \param str The string to parse */ - (void)parseString: (OFString*)str; +/** + * Parses the specified stream. + * + * \param stream The stream to parse + */ +- (void)parseStream: (OFStream*)stream; + /** * Parses the specified file. * * \param path The path to the file to parse */