43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
[self release];
pool = [[OFAutoreleasePool alloc] init];
if (![[element name] isEqual: [self className]] ||
![[element namespace] isEqual: OF_SERIALIZATION_NS])
@throw [OFInvalidArgumentException exceptionWithClass: isa
selector: _cmd];
[pool release];
return [OFNull null];
}
- (OFString*)description
|
|
>
|
|
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
[self release];
pool = [[OFAutoreleasePool alloc] init];
if (![[element name] isEqual: [self className]] ||
![[element namespace] isEqual: OF_SERIALIZATION_NS])
@throw [OFInvalidArgumentException
exceptionWithClass: [self class]
selector: _cmd];
[pool release];
return [OFNull null];
}
- (OFString*)description
|
102
103
104
105
106
107
108
109
110
111
112
113
|
- (unsigned int)retainCount
{
return OF_RETAIN_COUNT_MAX;
}
- (void)dealloc
{
@throw [OFNotImplementedException exceptionWithClass: isa
selector: _cmd];
[super dealloc]; /* Get rid of a stupid warning */
}
@end
|
|
|
103
104
105
106
107
108
109
110
111
112
113
114
|
- (unsigned int)retainCount
{
return OF_RETAIN_COUNT_MAX;
}
- (void)dealloc
{
@throw [OFNotImplementedException exceptionWithClass: [self class]
selector: _cmd];
[super dealloc]; /* Get rid of a stupid warning */
}
@end
|