private void doProcessNext ( ) { int _position = getPosition ( ) ; Node _current = getSource ( ) . item ( _position ) ; if ( getActionPool ( ) . containsKey ( _current . getNodeName ( ) ) ) { getActionPool ( ) . get ( _current . getNodeName ( ) ) . execute ( _current , _position ) ; } else if ( getActionPool ( ) . containsKey ( NODE_NAME__DEFAULT ) ) { getActionPool ( ) . get ( NODE_NAME__DEFAULT ) . execute ( _current , _position ) ; } // else do nothing... // done _position ++ ; setPosition ( _position ) ; }
Perform the processing on the next available node .