ObjFW  Diff

Differences From Artifact [77eb90df4f]:

To Artifact [3000b0638d]:


386
387
388
389
390
391
392









393
394
395
396
397









398
399
400
401
402
403
404
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}










- (OFString*)name
{
	return [[name copy] autorelease];
}










- (OFString*)namespace
{
	return [[ns copy] autorelease];
}

- (OFArray*)attributes







>
>
>
>
>
>
>
>
>





>
>
>
>
>
>
>
>
>







386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
	} @catch (id e) {
		[self release];
		@throw e;
	}

	return self;
}

- (void)setName: (OFString*)name_
{
	if (name == nil)
		@throw [OFInvalidArgumentException newWithClass: isa
						       selector: _cmd];

	OF_SETTER(name, name_, YES, YES)
}

- (OFString*)name
{
	return [[name copy] autorelease];
}

- (void)setNamespace: (OFString*)ns_
{
	if (name == nil)
		@throw [OFInvalidArgumentException newWithClass: isa
						       selector: _cmd];

	OF_SETTER(ns, ns_, YES, YES)
}

- (OFString*)namespace
{
	return [[ns copy] autorelease];
}

- (OFArray*)attributes