60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
@try {
OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
if (![[element name] isEqual: @"object"] ||
![[element namespace] isEqual: OF_SERIALIZATION_NS] ||
![[[element attributeForName: @"class"] stringValue]
isEqual: [isa className]])
@throw [OFInvalidArgumentException newWithClass: isa
selector: _cmd];
name = [[[element
elementForName: @"name"
namespace: OF_SERIALIZATION_NS] stringValue] retain];
ns = [[[element
|
|
|
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
|
@try {
OFAutoreleasePool *pool = [[OFAutoreleasePool alloc] init];
if (![[element name] isEqual: @"object"] ||
![[element namespace] isEqual: OF_SERIALIZATION_NS] ||
![[[element attributeForName: @"class"] stringValue]
isEqual: [self className]])
@throw [OFInvalidArgumentException newWithClass: isa
selector: _cmd];
name = [[[element
elementForName: @"name"
namespace: OF_SERIALIZATION_NS] stringValue] retain];
ns = [[[element
|