org.maltparser.core.flow
Class FlowChartInstance
java.lang.Object
org.maltparser.core.flow.FlowChartInstance
public class FlowChartInstance
- extends Object
- Author:
- Johan Hall
FlowChartInstance
public FlowChartInstance(int optionContainerIndex,
ChartSpecification chartSpecification,
FlowChartManager flowChartManager)
throws MaltChainedException
- Throws:
MaltChainedException
initChartItem
protected ChartItem initChartItem(ChartItemSpecification chartItemSpecification)
throws MaltChainedException
- Throws:
MaltChainedException
addFlowChartRegistry
public void addFlowChartRegistry(Class<?> entryClass,
String identifier,
Object entry)
removeFlowChartRegistry
public void removeFlowChartRegistry(Class<?> entryClass,
String identifier)
getFlowChartRegistry
public Object getFlowChartRegistry(Class<?> entryClass,
String identifier)
setEngineRegistry
public void setEngineRegistry(String key,
Object value)
getEngineRegistry
public Object getEngineRegistry(String key)
getFlowChartManager
public FlowChartManager getFlowChartManager()
setFlowChartManager
protected void setFlowChartManager(FlowChartManager flowChartManager)
getOptionContainerIndex
public int getOptionContainerIndex()
setOptionContainerIndex
protected void setOptionContainerIndex(int optionContainerIndex)
getChartSpecification
public ChartSpecification getChartSpecification()
setChartSpecification
protected void setChartSpecification(ChartSpecification chartSpecification)
getPreProcessChartItems
public LinkedHashSet<ChartItem> getPreProcessChartItems()
getProcessChartItems
public LinkedHashSet<ChartItem> getProcessChartItems()
getPostProcessChartItems
public LinkedHashSet<ChartItem> getPostProcessChartItems()
hasPreProcessChartItems
public boolean hasPreProcessChartItems()
hasProcessChartItems
public boolean hasProcessChartItems()
hasPostProcessChartItems
public boolean hasPostProcessChartItems()
preprocess
public int preprocess()
throws MaltChainedException
- Throws:
MaltChainedException
process
public int process()
throws MaltChainedException
- Throws:
MaltChainedException
postprocess
public int postprocess()
throws MaltChainedException
- Throws:
MaltChainedException
terminate
public void terminate()
throws MaltChainedException
- Throws:
MaltChainedException
getName
public String getName()
setName
public void setName(String name)
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals
in class Object
toString
public String toString()
- Overrides:
toString
in class Object
Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.