private void processDeferredRelationship ( DeferredRelationship dr ) throws MPXJException { String data = dr . getData ( ) ; Task task = dr . getTask ( ) ; int length = data . length ( ) ; if ( length != 0 ) { int start = 0 ; int end = 0 ; while ( end != length ) { end = data . indexOf ( m_delimiter , start ) ; if ( end == - 1 ) { end = length ; } populateRelation ( dr . getField ( ) , task , data . substring ( start , end ) . trim ( ) ) ; start = end + 1 ; } } }
This method processes a single deferred relationship list .