question: private void initXMLTree ( ) throws Exception { updateFilteredTokens ( ) ; ArrayList elements = getElements ( getFilteredTokens ( ) ) ; if ( elements . size ( ) > 1 ) { throw new Exception ( "More than one root elements encountered" ) ; } setRootElement ( ( XMLElement ) elements . get ( 0 ) ) ; }
target:  Creats an in-memory XML tree based on the parsed tokens in this  document.