Class PartOfSpeechAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.analysis.ja.tokenattributes.PartOfSpeechAttributeImpl
-
- All Implemented Interfaces:
Cloneable
,PartOfSpeechAttribute
,Attribute
public class PartOfSpeechAttributeImpl extends AttributeImpl implements PartOfSpeechAttribute
Attribute forToken.getPartOfSpeech()
.
-
-
Constructor Summary
Constructors Constructor Description PartOfSpeechAttributeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
copyTo(AttributeImpl target)
String
getPartOfSpeech()
void
reflectWith(AttributeReflector reflector)
void
setToken(Token token)
-
Methods inherited from class org.apache.lucene.util.AttributeImpl
clone, end, reflectAsString
-
-
-
-
Method Detail
-
getPartOfSpeech
public String getPartOfSpeech()
- Specified by:
getPartOfSpeech
in interfacePartOfSpeechAttribute
-
setToken
public void setToken(Token token)
- Specified by:
setToken
in interfacePartOfSpeechAttribute
-
clear
public void clear()
- Specified by:
clear
in classAttributeImpl
-
copyTo
public void copyTo(AttributeImpl target)
- Specified by:
copyTo
in classAttributeImpl
-
reflectWith
public void reflectWith(AttributeReflector reflector)
- Specified by:
reflectWith
in classAttributeImpl
-
-