org.maltparser.parser.history
Class HistoryListNode
java.lang.Object
org.maltparser.parser.history.HistoryListNode
- All Implemented Interfaces:
- HistoryNode
public class HistoryListNode
- extends Object
- implements HistoryNode
- Author:
- Johan Hall
HistoryListNode
public HistoryListNode(HistoryNode previousNode,
GuideUserAction action)
getPreviousNode
public HistoryNode getPreviousNode()
- Specified by:
getPreviousNode
in interface HistoryNode
getAction
public GuideUserAction getAction()
- Specified by:
getAction
in interface HistoryNode
setPreviousNode
public void setPreviousNode(HistoryNode node)
- Specified by:
setPreviousNode
in interface HistoryNode
setAction
public void setAction(GuideUserAction action)
- Specified by:
setAction
in interface HistoryNode
getPosition
public int getPosition()
- Specified by:
getPosition
in interface HistoryNode
clear
public void clear()
throws MaltChainedException
- Specified by:
clear
in interface HistoryNode
- Throws:
MaltChainedException
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.