Class InflectionAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.analysis.ja.tokenattributes.InflectionAttributeImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,InflectionAttribute
,org.apache.lucene.util.Attribute
public class InflectionAttributeImpl extends org.apache.lucene.util.AttributeImpl implements InflectionAttribute, Cloneable
Attribute for Kuromoji inflection data.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InflectionAttributeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
copyTo(org.apache.lucene.util.AttributeImpl target)
String
getInflectionForm()
String
getInflectionType()
void
reflectWith(org.apache.lucene.util.AttributeReflector reflector)
void
setToken(Token token)
-
-
-
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 classorg.apache.lucene.util.AttributeImpl
-
copyTo
public void copyTo(org.apache.lucene.util.AttributeImpl target)
- Specified by:
copyTo
in classorg.apache.lucene.util.AttributeImpl
-
reflectWith
public void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
- Overrides:
reflectWith
in classorg.apache.lucene.util.AttributeImpl
-
-