if(obj_!=obj)list.set(i, obj_);
}
return list;
}
else if(vde instanceof JbNode){
JbNode jbNode=(JbNode)vde;
StringTokenizer tk=new StringTokenizer(subPath,"$.", true);
String child_name=null;
while(tk.hasMoreTokens()){
String token=tk.nextToken();
switch(token.charAt(0)){
case '$':
case '.':
jbNode=jbNode.getChild(child_name);
child_name=null;
break;
default:
child_name=StringUtils.substringBefore(token, "#");
break;
}
}
if(jbNode!=null){
CROM dtd=jbNode.getCrom();
if(dtd.isLoopNode())
return jbNode.m_children;
else
throw new RuntimeException("replaceWithChildNode() failed, the final replacement child should be a loop node. subpath:"+subPath);
}