question: public Object readCostMatrixOld ( Element node ) throws Exception { weka . classifiers . CostMatrix matrix ; weka . core . matrix . Matrix matrixNew ; StringWriter writer ; if ( DEBUG ) { trace ( new Throwable ( ) , node . getAttribute ( ATT_NAME ) ) ; } m_CurrentNode = node ; matrixNew = ( weka . core . matrix . Matrix ) readMatrix ( node ) ; writer = new StringWriter ( ) ; matrixNew . write ( writer ) ; matrix = new weka . classifiers . CostMatrix ( new StringReader ( writer . toString ( ) ) ) ; return matrix ; }
target:  builds the Matrix (old) from the given DOM node.