-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSSINode.m
More file actions
78 lines (63 loc) · 1.23 KB
/
SSINode.m
File metadata and controls
78 lines (63 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
//
// SSINode.m
// Juju
//
// Created by Saravudh Sinsomros on 10/26/10.
// Copyright 2010 __MyCompanyName__. All rights reserved.
//
#import "SSINode.h"
@implementation SSINode
@synthesize name;
@synthesize parent,left,right;
-(id) init {
if (self = [self initWithParent:nil]) {
}
return self;
}
-(void) dealloc {
[name release];
[super dealloc];
}
-(id) initWithParent:(SSINode*) aParent {
if (self = [super init]) {
self.parent = aParent;
}
return self;
}
-(SSINode*) appendChild:(SSINode*) aNode {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
-(NSArray*) childNodes {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
-(SSINode*) firstChild {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
-(SSINode*) lastChild {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
-(BOOL) hasChildNodes {
[self doesNotRecognizeSelector:_cmd];
return NO;
}
-(SSINode*) removeChild:(SSINode*) aNode {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
-(NSArray*) attributes {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
-(NSString*) attributeByName:(NSString*) aName {
[self doesNotRecognizeSelector:_cmd];
return nil;
}
-(BOOL) hasAttributes {
[self doesNotRecognizeSelector:_cmd];
return NO;
}
@end