MaltParser 1.4.1

org.maltparser.core.feature.value
Class SingleFeatureValue

java.lang.Object
  extended by org.maltparser.core.feature.value.FunctionValue
      extended by org.maltparser.core.feature.value.FeatureValue
          extended by org.maltparser.core.feature.value.SingleFeatureValue

public class SingleFeatureValue
extends FeatureValue

Since:
1.0
Author:
Johan Hall

Field Summary
protected  int code
           
protected  boolean known
           
protected  String symbol
           
 
Fields inherited from class org.maltparser.core.feature.value.FeatureValue
cardinality, nullValue
 
Fields inherited from class org.maltparser.core.feature.value.FunctionValue
function
 
Constructor Summary
SingleFeatureValue(Function function)
           
 
Method Summary
 boolean equals(Object obj)
           
 int getCode()
           
 String getSymbol()
           
 boolean isKnown()
           
 void reset()
           
 void setCode(int code)
           
 void setKnown(boolean known)
           
 void setSymbol(String symbol)
           
 String toString()
           
 
Methods inherited from class org.maltparser.core.feature.value.FeatureValue
getCardinality, isNullValue, setCardinality, setNullValue
 
Methods inherited from class org.maltparser.core.feature.value.FunctionValue
getFunction, setFunction
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

code

protected int code

symbol

protected String symbol

known

protected boolean known
Constructor Detail

SingleFeatureValue

public SingleFeatureValue(Function function)
Method Detail

reset

public void reset()
Overrides:
reset in class FeatureValue

getCode

public int getCode()

setCode

public void setCode(int code)

getSymbol

public String getSymbol()

setSymbol

public void setSymbol(String symbol)

isKnown

public boolean isKnown()

setKnown

public void setKnown(boolean known)

equals

public boolean equals(Object obj)
Overrides:
equals in class FeatureValue

toString

public String toString()
Overrides:
toString in class FeatureValue

MaltParser 1.4.1

Copyright 2007-2010 Johan Hall, Jens Nilsson and Joakim Nivre.