Class ReadingAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.analysis.ja.tokenattributes.ReadingAttributeImpl
-
- All Implemented Interfaces:
Cloneable,ReadingAttribute,Attribute
public class ReadingAttributeImpl extends AttributeImpl implements ReadingAttribute
Attribute for Kuromoji reading data
-
-
Constructor Summary
Constructors Constructor Description ReadingAttributeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidcopyTo(AttributeImpl target)StringgetPronunciation()StringgetReading()voidreflectWith(AttributeReflector reflector)voidsetToken(Token token)-
Methods inherited from class org.apache.lucene.util.AttributeImpl
clone, end, reflectAsString
-
-
-
-
Method Detail
-
getReading
public String getReading()
- Specified by:
getReadingin interfaceReadingAttribute
-
getPronunciation
public String getPronunciation()
- Specified by:
getPronunciationin interfaceReadingAttribute
-
setToken
public void setToken(Token token)
- Specified by:
setTokenin interfaceReadingAttribute
-
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
-
-