MBList Class Reference
| Inherits from | MBEntity : NSObject |
| Conforms to | NSFastEnumeration |
| Declared in | MBList.h MBList.m |
Tasks
Other Methods
-
Countproperty -
Offsetproperty -
TargetTypeproperty -
– elementCount -
– elementAtIndex:
Other Methods
-
– init -
– parseElement:Parse XML Element that represents this object.
-
– ElementNameElement Name
-
– countByEnumeratingWithState:objects:count:
Instance Methods
ElementName
Element Name
- (NSString *)ElementNameDiscussion
Element Name
Returnes the element name for this instance.
Declared In
MBEntity.hcountByEnumeratingWithState:objects:count:
- (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id __unsafe_unretained [ ])buffer count:(NSUInteger)lenparseElement:
Parse XML Element that represents this object.
- (void)parseElement:(NSXMLElement *)elementParameters
- 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