Class ReadingAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.analysis.ja.tokenattributes.ReadingAttributeImpl
-
- All Implemented Interfaces:
Serializable,Cloneable,ReadingAttribute,org.apache.lucene.util.Attribute
public class ReadingAttributeImpl extends org.apache.lucene.util.AttributeImpl implements ReadingAttribute, Cloneable
Attribute for Kuromoji reading data- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ReadingAttributeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear()voidcopyTo(org.apache.lucene.util.AttributeImpl target)StringgetPronunciation()StringgetReading()voidreflectWith(org.apache.lucene.util.AttributeReflector reflector)voidsetToken(Token token)
-
-
-
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 classorg.apache.lucene.util.AttributeImpl
-
copyTo
public void copyTo(org.apache.lucene.util.AttributeImpl target)
- Specified by:
copyToin classorg.apache.lucene.util.AttributeImpl
-
reflectWith
public void reflectWith(org.apache.lucene.util.AttributeReflector reflector)
- Overrides:
reflectWithin classorg.apache.lucene.util.AttributeImpl
-
-