public class PartOfSpeechAttributeImpl extends AttributeImpl implements PartOfSpeechAttribute, Cloneable
Token.getPartOfSpeech().| Constructor and Description |
|---|
PartOfSpeechAttributeImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
copyTo(AttributeImpl target) |
String |
getPartOfSpeech() |
void |
reflectWith(AttributeReflector reflector) |
void |
setToken(Token token) |
clone, end, reflectAsStringpublic String getPartOfSpeech()
getPartOfSpeech in interface PartOfSpeechAttributepublic void setToken(Token token)
setToken in interface PartOfSpeechAttributepublic void clear()
clear in class AttributeImplpublic void copyTo(AttributeImpl target)
copyTo in class AttributeImplpublic void reflectWith(AttributeReflector reflector)
reflectWith in class AttributeImplCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.