returns the full command for this node . for example consider below tree , when getcommand is called on node111 , it returns `` node1 node11 node111 '' node1 | _ node11 | _ node111 | _ node12 concode_field_sep Node parent concode_elem_sep String data concode_elem_sep List<Node> children concode_elem_sep Node root concode_field_sep List<Node> getChildren concode_elem_sep Node getParent concode_elem_sep Node getTopNode concode_elem_sep Node addChild concode_elem_sep String getData
String function ( ) { StringBuffer loc0 = new StringBuffer ( this . data ) ; Node loc1 = this . parent ; while ( loc1 != null ) { loc0 . insert ( 0 , loc1 . getData ( ) + "srini_string" ) ; loc1 = loc1 . getParent ( ) ; } return loc0 . toString ( ) ; }