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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()voidcopyTo(AttributeImpl target) voidreflectWith(AttributeReflector reflector) voidMethods inherited from class org.apache.lucene.util.AttributeImpl
clone, end, reflectAsString
-
Constructor Details
-
PartOfSpeechAttributeImpl
public PartOfSpeechAttributeImpl()
-
-
Method Details
-
getPartOfSpeech
- Specified by:
getPartOfSpeechin interfacePartOfSpeechAttribute
-
setToken
- Specified by:
setTokenin interfacePartOfSpeechAttribute
-
clear
public void clear()- Specified by:
clearin classAttributeImpl
-
copyTo
- Specified by:
copyToin classAttributeImpl
-
reflectWith
- Specified by:
reflectWithin classAttributeImpl
-