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 void
clear()
void
copyTo(org.apache.lucene.util.AttributeImpl target)
String
getPronunciation()
String
getReading()
void
reflectWith(org.apache.lucene.util.AttributeReflector reflector)
void
setToken(Token token)
-
-
-
Method Detail
-
getReading
public String getReading()
- Specified by:
getReading
in interfaceReadingAttribute
-
getPronunciation
public String getPronunciation()
- Specified by:
getPronunciation
in interfaceReadingAttribute
-
setToken
public void setToken(Token token)
- Specified by:
setToken
in interfaceReadingAttribute
-
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
-
-