CPRecoveryAction Class Reference
| Inherits from | NSObject | 
| Declared in | CPRecoveryAction.h CPRecoveryAction.m  | 
Tasks
- 
	
		
recoveryTypeThe type of recovery action to take. May be CPRecoveryTypeAddToken or CPRecoveryTypeRemoveToken.
property - 
	
		
additionalTokenThe token to insert in the token streem if a CPRecoveryTypeAddToken action is taken.
property - 
	
		
+ recoveryActionWithAdditionalToken:Allocates an initialises a new CPRecoveryAction asking the parser to add a new token to the token stream.
 - 
	
		
+ recoveryActionDeletingCurrentTokenAllocates an initialises a new CPRecoveryAction asking the parser to delete an offending token from the token stream.
 - 
	
		
+ recoveryActionStopAllocates and initialise a new CPRecovery action asking the parser to stop immediately.
 - 
	
		
– initWithAdditionalToken:Initialises a CPRecoveryAction asking the parser to add a new token to the token stream.
 - 
	
		
– initWithDeleteActionInitialises a CPRecoveryAction asking the parser to delete an offending token from the token stream.
 - 
	
		
– initWithStopActionInitialises a CPRecoveryAction asking the parser to stop immediately.
 
Properties
additionalToken
The token to insert in the token streem if a CPRecoveryTypeAddToken action is taken.
@property (readwrite, retain) CPToken *additionalTokenDiscussion
The token to insert in the token streem if a CPRecoveryTypeAddToken action is taken.
Declared In
CPRecoveryAction.hrecoveryType
The type of recovery action to take. May be CPRecoveryTypeAddToken or CPRecoveryTypeRemoveToken.
@property (readwrite, assign) CPRecoveryType recoveryTypeDiscussion
The type of recovery action to take. May be CPRecoveryTypeAddToken or CPRecoveryTypeRemoveToken.
Declared In
CPRecoveryAction.hClass Methods
recoveryActionDeletingCurrentToken
Allocates an initialises a new CPRecoveryAction asking the parser to delete an offending token from the token stream.
+ (id)recoveryActionDeletingCurrentTokenReturn Value
A new recovery action.
Discussion
Allocates an initialises a new CPRecoveryAction asking the parser to delete an offending token from the token stream.
Declared In
CPRecoveryAction.hrecoveryActionStop
Allocates and initialise a new CPRecovery action asking the parser to stop immediately.
+ (id)recoveryActionStopDiscussion
Allocates and initialise a new CPRecovery action asking the parser to stop immediately.
Declared In
CPRecoveryAction.hrecoveryActionWithAdditionalToken:
Allocates an initialises a new CPRecoveryAction asking the parser to add a new token to the token stream.
+ (id)recoveryActionWithAdditionalToken:(CPToken *)tokenParameters
- token
 The token to add to the stream.
Return Value
A new recovery action.
Discussion
Allocates an initialises a new CPRecoveryAction asking the parser to add a new token to the token stream.
Declared In
CPRecoveryAction.hInstance Methods
initWithAdditionalToken:
Initialises a CPRecoveryAction asking the parser to add a new token to the token stream.
- (id)initWithAdditionalToken:(CPToken *)tokenParameters
- token
 The token to add to the stream.
Return Value
An initialised recovery action.
Discussion
Initialises a CPRecoveryAction asking the parser to add a new token to the token stream.
Declared In
CPRecoveryAction.hinitWithDeleteAction
Initialises a CPRecoveryAction asking the parser to delete an offending token from the token stream.
- (id)initWithDeleteActionReturn Value
An initialised recovery action.
Discussion
Initialises a CPRecoveryAction asking the parser to delete an offending token from the token stream.
Declared In
CPRecoveryAction.h