ObjFW
Public Member Functions | Static Public Member Functions
OFXMLElementBuilder Class Reference

A class implementing the OFXMLParserDelegate protocol that can build OFXMLElements from the document parsed by the OFXMLParser. More...

#import <OFXMLElementBuilder.h>

Inheritance diagram for OFXMLElementBuilder:
OFObject <OFXMLParserDelegate> <OFObject> <OFObject>

List of all members.

Public Member Functions

(id< OFXMLElementBuilderDelegate >) - delegate
 Returns the delegate for the OFXMLElementBuilder.
(void) - setDelegate:
 Sets the delegate for the OFXMLElementBuilder.

Static Public Member Functions

(id) + elementBuilder
 Creates a new element builder.

Detailed Description

A class implementing the OFXMLParserDelegate protocol that can build OFXMLElements from the document parsed by the OFXMLParser.

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.


Member Function Documentation

- (id <OFXMLElementBuilderDelegate>) delegate

Returns the delegate for the OFXMLElementBuilder.

Returns:
The delegate for the OFXMLElementBuilder
+ (id) elementBuilder

Creates a new element builder.

Returns:
A new, autoreleased OFXMLElementBuilder
- (void) setDelegate: (id <OFXMLElementBuilderDelegate>)  delegate

Sets the delegate for the OFXMLElementBuilder.

Parameters:
delegateThe delegate for the OFXMLElementBuilder

The documentation for this class was generated from the following files:
 All Classes Functions Variables Properties