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 voidclear()voidcopyTo(AttributeImpl target)StringgetPartOfSpeech()voidreflectWith(AttributeReflector reflector)voidsetToken(Token token)-
Methods inherited from class org.apache.lucene.util.AttributeImpl
clone, end, reflectAsString
-
-
-
-
Method Detail
-
getPartOfSpeech
public String getPartOfSpeech()
- Specified by:
getPartOfSpeechin interfacePartOfSpeechAttribute
-
setToken
public void setToken(Token token)
- Specified by:
setTokenin interfacePartOfSpeechAttribute
-
clear
public void clear()
- Specified by:
clearin classAttributeImpl
-
copyTo
public void copyTo(AttributeImpl target)
- Specified by:
copyToin classAttributeImpl
-
reflectWith
public void reflectWith(AttributeReflector reflector)
- Specified by:
reflectWithin classAttributeImpl
-
-