public void initialise ( XMLReader reader , AbstractGpxParserDefault parent ) { setReader ( reader ) ; setParent ( parent ) ; setContentBuffer ( parent . getContentBuffer ( ) ) ; setRtePreparedStmt ( parent . getRtePreparedStmt ( ) ) ; setRteptPreparedStmt ( parent . getRteptPreparedStmt ( ) ) ; setElementNames ( parent . getElementNames ( ) ) ; setCurrentLine ( parent . getCurrentLine ( ) ) ; setRteList ( new ArrayList < Coordinate > ( ) ) ; }
Create a new specific parser . It has in memory the default parser the contentBuffer the elementNames the currentLine and the rteID .