Public Member Functions | Protected Attributes | Properties

AmazonUnmarshallerXMLParserDelegate Class Reference

Base class for type-specific response unmarshallers. More...

#import <AmazonUnmarshallerXMLParserDelegate.h>

Inherited by AmazonServiceExceptionUnmarshaller, AmazonServiceResponseUnmarshaller, S3AccessControlListUnmarshaller, S3BucketUnmarshaller, S3CommonPrefixesUnmarshaller, S3CopyObjectResultUnmarshaller, S3ErrorResponseHandler, S3GrantUnmarshaller, S3ListBucketResultUnmarshaller, S3ListBucketsResultUnmarshaller, S3LocationConstraintUnmarshaller, S3ObjectSummaryUnmarshaller, and S3OwnerUnmarshaller.

List of all members.

Public Member Functions

(AmazonUnmarshallerXMLParserDelegate *) - initWithCaller:withParentObject:withSetter:
 Set up this unmarshaller at the bottom of a call chain.

Protected Attributes

NSMutableString * currentText
AmazonUnmarshallerXMLParserDelegatecaller
id parentObject
SEL parentSetter

Properties

NSString * currentText
 Inner text of the current XML node.
NSString * currentTag
 The tag name of the current XML node.

Detailed Description

Base class for type-specific response unmarshallers.


Member Function Documentation

- (AmazonUnmarshallerXMLParserDelegate * AmazonUnmarshallerXMLParserDelegate.)initWithCaller: (AmazonUnmarshallerXMLParserDelegate *)  aCaller
withParentObject: (id)  parent
withSetter: (SEL)  setter 

Set up this unmarshaller at the bottom of a call chain.

When parsing nested tags, control is handed to another delegate. When that delegate is done, it will

  • set the parser's delegate to the caller, returning control to it.
  • assign the object it created to the parent field with [parent setter:object].
Parameters:
aCaller The unmarshaller to return control to when this one is done
parent The object to set my unmarshalled value on
setter The setter to call on the parent object

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