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 PartOfSpeechAttributepublic void setToken(Token token)
setToken in interface PartOfSpeechAttributepublic void clear()
clear in class org.apache.lucene.util.AttributeImplpublic void copyTo(org.apache.lucene.util.AttributeImpl target)
copyTo in class org.apache.lucene.util.AttributeImplpublic void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
reflectWith in class org.apache.lucene.util.AttributeImpl