question: public void load ( IMemento memento ) { XMLMemento historyMemento = ( XMLMemento ) memento . getChild ( rootNodeName ) ; if ( historyMemento == null ) { return ; } IMemento [ ] mementoElements = historyMemento . getChildren ( infoNodeName ) ; for ( int i = 0 ; i < mementoElements . length ; ++ i ) { IMemento mementoElement = mementoElements [ i ] ; Object object = restoreItemFromMemento ( mementoElement ) ; if ( object != null ) { historyList . add ( object ) ; } } }
target:  Load history elements from memento.