returns the first element in the tree . concode_field_sep Stack stack concode_elem_sep Element root concode_elem_sep int index concode_elem_sep Element element concode_field_sep Element next concode_elem_sep Element current concode_elem_sep int depth concode_elem_sep Element previous concode_elem_sep Element deepestLeaf concode_elem_sep Object clone
Element function ( ) { Element loc0 = null ; if ( root != null ) { stack = new Stack ( ) ; if ( root . getElementCount ( ) > 0 ) stack . push ( new ElementRef ( root ) ) ; loc0 = root ; } return loc0 ; }