Public Member Functions

<XAP_CocoaPlugin_SimpleXML> Protocol Reference

A simple call-back interface for SAX-style XML parsing. More...

#import <xap_CocoaPlugin.h>

List of all members.

Public Member Functions

(BOOL) - startElement:attributes:
 Called on start of a new element.
(BOOL) - endElement:
 Called on end of a element.
(BOOL) - characterData:
 Called with text data.

Detailed Description

A simple call-back interface for SAX-style XML parsing.


Member Function Documentation

- (BOOL) characterData: (NSString *)  data  

Called with text data.

Parameters:
data The character data.
Returns:
This method should return YES normally, but NO in order to stop parsing.
- (BOOL) endElement: (NSString *)  name  

Called on end of a element.

Parameters:
name The element name.
Returns:
This method should return YES normally, but NO in order to stop parsing.
- (BOOL) startElement: (NSString *)  name
attributes: (NSDictionary *)  attributes 

Called on start of a new element.

Parameters:
name The element name.
attributes The element's attributes as a dictionary.
Returns:
This method should return YES normally, but NO in order to stop parsing.

The documentation for this protocol was generated from the following file: