public boolean stage6 ( final Document doc , final ProtoNetwork pn ) { beginStage ( PHASE1_STAGE6_HDR , "6" , NUM_PHASES ) ; final StringBuilder bldr = new StringBuilder ( ) ; boolean stmtSuccess = false , termSuccess = false ; bldr . append ( "Expanding statements and terms" ) ; stageOutput ( bldr . toString ( ) ) ; long t1 = currentTimeMillis ( ) ; boolean stmtExpand = ! hasOption ( NO_NS_LONG_OPT ) ; p1 . stage6Expansion ( doc , pn , stmtExpand ) ; termSuccess = true ; stmtSuccess = true ; long t2 = currentTimeMillis ( ) ; bldr . setLength ( 0 ) ; markTime ( bldr , t1 , t2 ) ; markEndStage ( bldr ) ; stageOutput ( bldr . toString ( ) ) ; return stmtSuccess && termSuccess ; }
Stage six expansion of the document .