Differences From Artifact [d870539158]:
- File src/OFXMLElementBuilder.h — part of check-in [ad93296956] at 2010-07-02 21:40:56 on branch trunk — Add OFXMLElementBuilder. (user: js, size: 1996) [annotate] [blame] [check-ins using]
To Artifact [3c0e04c5a7]:
- File
src/OFXMLElementBuilder.h
— part of check-in
[e2b06423e0]
at
2010-09-05 23:19:08
on branch trunk
— Replace OFObject* with id in many places.
We assume now that every object understands retain, release, etc. so
that we can weaken the type from OFObject* to id. This makes it
possible to use different root object classes. (user: js, size: 1968) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
41 42 43 44 45 46 47 | * It can also be used to build OFXMLElements from parts of the document by * first parsing stuff using the OFXMLParser with another delegate and then * setting the OFXMLElementBuilder as delegate for the parser. */ @interface OFXMLElementBuilder: OFObject { OFMutableArray *stack; | | | | | | 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | * It can also be used to build OFXMLElements from parts of the document by * first parsing stuff using the OFXMLParser with another delegate and then * setting the OFXMLElementBuilder as delegate for the parser. */ @interface OFXMLElementBuilder: OFObject { OFMutableArray *stack; id <OFXMLElementBuilderDelegate> delegate; } #ifdef OF_HAVE_PROPERTIES @property (retain) id <OFXMLElementBuilderDelegate> delegate; #endif /** * \return A new, autoreleased OFXMLElementBuilder */ + elementBuilder; /** * \return The delegate for the OFXMLElementBuilder */ - (id <OFXMLElementBuilderDelegate>)delegate; /** * Sets the delegate for the OFXMLElementBuilder. * * \param delegate The delegate for the OFXMLElementBuilder */ - (void)setDelegate: (id <OFXMLElementBuilderDelegate>)delegate; @end |