Lines Matching refs:newRootNode
134 id newRootNode = newRoot;
137 return newRootNode;
139 if ([newRootNode isNil]) {
140 if ([newRootNode getChildCount] > 1) {
142 @throw [TreeException exceptionWithOldRoot:oldRoot newRoot:newRootNode stream:nil];
146 id tmpRootNode = [[newRootNode childAtIndex:0] retain];
147 [newRootNode release];
148 newRootNode = tmpRootNode;
151 [newRootNode addChild:oldRoot];
158 // what happens to newRootNode's retain count? Should we be autoreleasing this one? Probably.
159 return [newRootNode retain];