@@ -110,36 +110,23 @@ { OFMutableArray OF_GENERIC(OFXMLElement*) *_stack; id _delegate; } -#ifdef OF_HAVE_PROPERTIES +/*! + * The delegate for the OFXMLElementBuilder. + */ @property OF_NULLABLE_PROPERTY (assign) id delegate; -#endif /*! * @brief Creates a new element builder. * * @return A new, autoreleased OFXMLElementBuilder */ + (instancetype)elementBuilder; - -/*! - * @brief Sets the delegate for the OFXMLElementBuilder. - * - * @param delegate The delegate for the OFXMLElementBuilder - */ -- (void)setDelegate: (nullable id )delegate; - -/*! - * @brief Returns the delegate for the OFXMLElementBuilder. - * - * @return The delegate for the OFXMLElementBuilder - */ -- (nullable id )delegate; @end @interface OFObject (OFXMLElementBuilderDelegate) @end OF_ASSUME_NONNULL_END