Class InflectionAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.analysis.ja.tokenattributes.InflectionAttributeImpl
-
- All Implemented Interfaces:
Cloneable,InflectionAttribute,Attribute
public class InflectionAttributeImpl extends AttributeImpl implements InflectionAttribute
Attribute for Kuromoji inflection data.
-
-
Constructor Summary
Constructors Constructor Description InflectionAttributeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidcopyTo(AttributeImpl target)StringgetInflectionForm()StringgetInflectionType()voidreflectWith(AttributeReflector reflector)voidsetToken(Token token)-
Methods inherited from class org.apache.lucene.util.AttributeImpl
clone, end, reflectAsString
-
-
-
-
Method Detail
-
getInflectionType
public String getInflectionType()
- Specified by:
getInflectionTypein interfaceInflectionAttribute
-
getInflectionForm
public String getInflectionForm()
- Specified by:
getInflectionFormin interfaceInflectionAttribute
-
setToken
public void setToken(Token token)
- Specified by:
setTokenin interfaceInflectionAttribute
-
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
-
-