Class ReadingAttributeImpl
- java.lang.Object
-
- org.apache.lucene.util.AttributeImpl
-
- org.apache.lucene.analysis.ko.tokenattributes.ReadingAttributeImpl
-
- All Implemented Interfaces:
Cloneable
,ReadingAttribute
,Attribute
public class ReadingAttributeImpl extends AttributeImpl implements ReadingAttribute, Cloneable
Attribute for Korean reading data- WARNING: This API is experimental and might change in incompatible ways in the next release.
-
-
Constructor Summary
Constructors Constructor Description ReadingAttributeImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clear()
void
copyTo(AttributeImpl target)
String
getReading()
Get the reading of the token.void
reflectWith(AttributeReflector reflector)
void
setToken(Token token)
Set the current token.-
Methods inherited from class org.apache.lucene.util.AttributeImpl
clone, end, reflectAsString
-
-
-
-
Method Detail
-
getReading
public String getReading()
Description copied from interface:ReadingAttribute
Get the reading of the token.- Specified by:
getReading
in interfaceReadingAttribute
-
setToken
public void setToken(Token token)
Description copied from interface:ReadingAttribute
Set the current token.- Specified by:
setToken
in interfaceReadingAttribute
-
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
-
-