public class PartOfSpeechAttributeImpl extends org.apache.lucene.util.AttributeImpl implements PartOfSpeechAttribute, Cloneable
Token.getPartOfSpeech()
.Constructor and Description |
---|
PartOfSpeechAttributeImpl() |
Modifier and Type | Method and Description |
---|---|
void |
clear() |
void |
copyTo(org.apache.lucene.util.AttributeImpl target) |
String |
getPartOfSpeech() |
void |
reflectWith(org.apache.lucene.util.AttributeReflector reflector) |
void |
setToken(Token token) |
public String getPartOfSpeech()
getPartOfSpeech
in interface PartOfSpeechAttribute
public void setToken(Token token)
setToken
in interface PartOfSpeechAttribute
public void clear()
clear
in class org.apache.lucene.util.AttributeImpl
public void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo
in class org.apache.lucene.util.AttributeImpl
public void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
reflectWith
in class org.apache.lucene.util.AttributeImpl