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));
}

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 ) ) ; }
creats an in - memory xml tree based on the parsed tokens in this document .
