private void processStartTag ( final StartElement paramElem ) throws IOException , XMLStreamException , TTException { assert paramElem != null ; // Initialize variables. initializeVars ( ) ; // Main algorithm to determine if same, insert or a delete has to be // made. algorithm ( paramElem ) ; if ( mFound && mIsRightSibling ) { mDelete = EDelete . ATSTARTMIDDLE ; deleteNode ( ) ; } else if ( ! mFound ) { // Increment levels. mLevelInToShredder ++ ; insertElementNode ( paramElem ) ; } else if ( mFound ) { // Increment levels. mLevelInToShredder ++ ; sameElementNode ( ) ; } }
Process start tag .