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, Cloneable
Attribute for Kuromoji inflection data.
-
-
Constructor Summary
Constructors Constructor Description InflectionAttributeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
copyTo(AttributeImpl target)
String
getInflectionForm()
String
getInflectionType()
void
reflectWith(AttributeReflector reflector)
void
setToken(Token token)
-
Methods inherited from class org.apache.lucene.util.AttributeImpl
clone, end, reflectAsString
-
-
-
-
Method Detail
-
getInflectionType
public String getInflectionType()
- Specified by:
getInflectionType
in interfaceInflectionAttribute
-
getInflectionForm
public String getInflectionForm()
- Specified by:
getInflectionForm
in interfaceInflectionAttribute
-
setToken
public void setToken(Token token)
- Specified by:
setToken
in interfaceInflectionAttribute
-
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
-
-