ObjFW
Public Member Functions | Static Public Member Functions | Protected Attributes | Properties
OFXMLElementBuilder Class Reference

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

#include <OFXMLElementBuilder.h>

Inheritance diagram for OFXMLElementBuilder:
OFObject <OFObject>

List of all members.

Public Member Functions

id< OFXMLElementBuilderDelegatedelegate ()
void setDelegate: (id< OFXMLElementBuilderDelegate > delegate)

Static Public Member Functions

id elementBuilder ()

Protected Attributes

OFMutableArraystack

Properties

id< OFXMLElementBuilderDelegatedelegate

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> OFXMLElementBuilder::delegate ( ) [virtual]
Returns:
The delegate for the OFXMLElementBuilder
id OFXMLElementBuilder::elementBuilder ( ) [static, virtual]
Returns:
A new, autoreleased OFXMLElementBuilder
void OFXMLElementBuilder::setDelegate: ( id <OFXMLElementBuilderDelegate delegate) [virtual]

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