org.maltparser.core.flow.spec
Class ChartItemSpecification
java.lang.Object
org.maltparser.core.flow.spec.ChartItemSpecification
public class ChartItemSpecification
- extends Object
- Author:
- Johan Hall
ChartItemSpecification
public ChartItemSpecification()
ChartItemSpecification
public ChartItemSpecification(String chartItemName,
Class<? extends ChartItem> chartItemClass)
getChartItemName
public String getChartItemName()
setChartItemName
public void setChartItemName(String chartItemName)
getChartItemClass
public Class<? extends ChartItem> getChartItemClass()
setChartItemClass
public void setChartItemClass(Class<? extends ChartItem> chartItemClass)
getChartItemAttributes
public HashMap<String,String> getChartItemAttributes()
getChartItemAttribute
public String getChartItemAttribute(String key)
addChartItemAttribute
public void addChartItemAttribute(String key,
String value)
removeChartItemAttribute
public void removeChartItemAttribute(String key)
read
public void read(Element chartItemSpec,
FlowChartManager flowCharts)
throws MaltChainedException
- Throws:
MaltChainedException
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.