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, reflectAsString
public String getPartOfSpeech()
getPartOfSpeech
in interface PartOfSpeechAttribute
public void setToken(Token token)
setToken
in interface PartOfSpeechAttribute
public void clear()
clear
in class AttributeImpl
public void copyTo(AttributeImpl target)
copyTo
in class AttributeImpl
public void reflectWith(AttributeReflector reflector)
reflectWith
in class AttributeImpl
Copyright © 2000-2021 Apache Software Foundation. All Rights Reserved.