Inherits from MBEntity : NSObject
Conforms to NSFastEnumeration
Declared in MBList.h
MBList.m

Overview

Represents all <*-list/> elements

Tasks

Other Methods

Other Methods

Properties

Count

@property (nonatomic, readonly) NSNumber *Count

Offset

@property (nonatomic, readonly) NSNumber *Offset

TargetType

@property (nonatomic, readonly) NSString *TargetType

Instance Methods

ElementName

Element Name

- (NSString *)ElementName

Discussion

Element Name

Returnes the element name for this instance.

Declared In

MBEntity.h

countByEnumeratingWithState:objects:count:

- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id __unsafe_unretained [ ])buffer count:(NSUInteger)len

elementAtIndex:

- (id)elementAtIndex:(NSUInteger)index

elementCount

- (NSUInteger)elementCount

init

- (id)init

parseElement:

Parse XML Element that represents this object.

- (void)parseElement:(NSXMLElement *)element

Parameters

element

NSXMLElement (DDXMLElement on iOS) that corresponds to this object

Discussion

Parse XML Element that represents this object.

This method will iterate through every attribute and element in the XML data that corresponds to this object. It will call set<key>: for every attribute and element where key is the the the local name of the attribute or element. If set<key>: is not defined by the subclass, the attribute or element will be added to ExtraAttributes or ExtraElements. Using @synthesize is fine for attributes as the passed value will always be an NSString or NSNull type but is not adequate for elements because the value passed will be the NSXMLElement (DDXMLElement on iOS) for that element.

Declared In

MBEntity.h