org.maltparser.parser.guide.feature
Class ColumnFeature
java.lang.Object
org.maltparser.parser.guide.feature.Feature
org.maltparser.parser.guide.feature.AtomicFeature
org.maltparser.parser.guide.feature.TokenFeature
org.maltparser.parser.guide.feature.ColumnFeature
- Direct Known Subclasses:
- InputColumnFeature, OutputColumnFeature
public abstract class ColumnFeature
- extends TokenFeature
- Since:
- 1.0
- Author:
- Johan Hall
Methods inherited from class org.maltparser.parser.guide.feature.Feature |
getCardinality, getFirstIntegerValue, getFirstStringValue, getIntegerValues, getParsingAlgorithm, getStringValues, getValues, init, initialize, isKnown, isNullValue, setParsingAlgorithm |
column
protected ColumnDescription column
currentUpdateNode
protected Node currentUpdateNode
ColumnFeature
public ColumnFeature()
throws MaltChainedException
- Throws:
MaltChainedException
init
public boolean init(String spec)
throws MaltChainedException
- Specified by:
init
in class Feature
- Throws:
MaltChainedException
update
public abstract void update()
throws MaltChainedException
- Specified by:
update
in class Feature
- Throws:
MaltChainedException
getStringValue
public String getStringValue(Integer value)
throws MaltChainedException
- Specified by:
getStringValue
in class Feature
- Throws:
MaltChainedException
getIntegerValue
public Integer getIntegerValue(String value)
throws MaltChainedException
- Specified by:
getIntegerValue
in class Feature
- Throws:
MaltChainedException
getColumn
public ColumnDescription getColumn()
setColumn
protected void setColumn(ColumnDescription column)
updateCardinality
public void updateCardinality()
- Specified by:
updateCardinality
in class Feature
setValue
public void setValue(Integer value)
throws MaltChainedException
- Specified by:
setValue
in class Feature
- Throws:
MaltChainedException
setValue
public void setValue(String value)
throws MaltChainedException
- Specified by:
setValue
in class Feature
- Throws:
MaltChainedException
equals
public boolean equals(Object obj)
- Overrides:
equals
in class TokenFeature
hashCode
public int hashCode()
- Overrides:
hashCode
in class TokenFeature
getColumnName
public String getColumnName()
getSymbolTable
public SymbolTable getSymbolTable()
getCurrentUpdateNode
public Node getCurrentUpdateNode()
toString
public String toString()
- Overrides:
toString
in class TokenFeature
Copyright 2007 Johan Hall, Jens Nilsson and Joakim Nivre.