ETXMLDeserializationHandler documentation

Authors

Generated by builder

Contents -

  1. Software documentation for the ETXMLDeserializationHandler class
  2. Software documentation for the ETXMLobjectsDeserializationHandler class

Software documentation for the ETXMLDeserializationHandler class

ETXMLDeserializationHandler : ETXMLNullHandler

Declared in:
ETXMLDeserializationHandler.h
ETXMLDeserializationHandler is a parser delegate that handles XML nodes from a serialized object graph. It will create handlers of an appropriate class for each child element in the graph, which will send messages to the deserializer during parsing. The handler are transient and will disappear sometime unless some child handler retains them.

Instance Variables

Method summary

name 

- (char*) name;
Returns the name attribute of the xml node.

rootAncestor 

- (id) rootAncestor;
Returns the backend from which the nodes stem.

setBackendHasPrincipalRef: 

- (void) setBackendHasPrincipalRef: (BOOL)hasPrincipalRef;
Recursively set the backendHasPrincipalRef flag for this handler and all its ancestors.

setDeserializer: 

- (void) setDeserializer: (ETDeserializer*)aDeserializer;
Sets the deserializer to use.

setName: 

- (void) setName: (NSString*)aName;
Sets the name attribute to aName.



Instance Variables for ETXMLDeserializationHandler Class

backendHasPrincipalRef

@protected BOOL backendHasPrincipalRef;
Indicates whether the CORef of principal object (the first object under the current implementation) was already set in the backend.

deserializer

@protected ETDeserializer* deserializer;
The deserializer to use.

name

@protected NSString* name;
Represents name attribute of the xml node. Not all elements in a serialized object graph use a name attribute, but since it is fairly common, it makes sense to place it here.




Software documentation for the ETXMLobjectsDeserializationHandler class

ETXMLobjectsDeserializationHandler : ETXMLDeserializationHandler

Declared in:
ETXMLDeserializationHandler.h
This class handles the root <objects> node.