001    package org.maltparser.parser.history;
002    
003    
004    import org.maltparser.core.exception.MaltChainedException;
005    import org.maltparser.parser.history.action.GuideUserAction;
006    
007    /**
008     * 
009     * @author Johan Hall
010    */
011    public abstract class HistoryStructure {
012            public HistoryStructure() {}
013    
014            public abstract HistoryNode getNewHistoryNode(HistoryNode previousNode, GuideUserAction action) throws MaltChainedException;
015            public abstract void clear() throws MaltChainedException;
016            public abstract void toFile() throws MaltChainedException;
017            public abstract void close() throws MaltChainedException;
018    }