Class PartOfSpeechAttributeImpl
java.lang.Object
org.apache.lucene.util.AttributeImpl
org.apache.lucene.analysis.ja.tokenattributes.PartOfSpeechAttributeImpl
- All Implemented Interfaces:
Cloneable
,PartOfSpeechAttribute
,Attribute
Attribute for
Token.getPartOfSpeech()
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
clear()
void
copyTo
(AttributeImpl target) void
reflectWith
(AttributeReflector reflector) void
Methods inherited from class org.apache.lucene.util.AttributeImpl
clone, end, reflectAsString
-
Constructor Details
-
PartOfSpeechAttributeImpl
public PartOfSpeechAttributeImpl()
-
-
Method Details
-
getPartOfSpeech
- Specified by:
getPartOfSpeech
in interfacePartOfSpeechAttribute
-
setToken
- Specified by:
setToken
in interfacePartOfSpeechAttribute
-
clear
public void clear()- Specified by:
clear
in classAttributeImpl
-
copyTo
- Specified by:
copyTo
in classAttributeImpl
-
reflectWith
- Specified by:
reflectWith
in classAttributeImpl
-