Authors
- Generated by builder
-
- 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
- (char*)
name;
Returns the name attribute of the xml node.
- (id)
rootAncestor;
Returns the backend from which the nodes stem.
- (void)
setBackendHasPrincipalRef: (BOOL)hasPrincipalRef;
Recursively set the backendHasPrincipalRef flag
for this handler and all its ancestors.
- (void)
setDeserializer: (
ETDeserializer*)aDeserializer;
Sets the deserializer to use.
- (void)
setName: (
NSString*)aName;
Sets the name attribute to aName.
Instance Variables for ETXMLDeserializationHandler Class
@protected BOOL backendHasPrincipalRef;
Indicates whether the CORef of principal object
(the first object under the current implementation)
was already set in the backend.
@protected ETDeserializer* deserializer;
The deserializer to use.
@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.
- Declared in:
- ETXMLDeserializationHandler.h
This class handles the root <objects> node.