ObjFW  Diff

Differences From Artifact [8482013ced]:

To Artifact [e961348a70]:


86
87
88
89
90
91
92
93
94
95
96
97

98
99
100
101

102
103
104
105




106
107
108
109
110
111
112
113
114
115
116
117
86
87
88
89
90
91
92



93

94
95
96
97

98
99
100


101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116







-
-
-

-
+



-
+


-
-
+
+
+
+












	[_prefix release];

	[super dealloc];
}

- (OFString*)description
{
	if (_description != nil)
		return _description;

	if (_namespace != nil)
		_description = [[OFString alloc] initWithFormat:
		return [OFString stringWithFormat:
		    @"The namespace %@ is not bound in class %@", _namespace,
		    _inClass];
	else if (_prefix != nil)
		_description = [[OFString alloc] initWithFormat:
		return [OFString stringWithFormat:
		    @"The prefix %@ is not bound to any namespace in class %@",
		    _prefix, _inClass];

	return _description;
	else
		return [OFString stringWithFormat:
		    @"A namespace or prefix is not bound in class %@",
		    _inClass];
}

- (OFString*)namespace
{
	OF_GETTER(_namespace, NO)
}

- (OFString*)prefix
{
	OF_GETTER(_prefix, NO)
}
@end