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
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 voidclear()voidcopyTo(AttributeImpl target)StringgetReading()Get the reading of the token.voidreflectWith(AttributeReflector reflector)voidsetToken(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:ReadingAttributeGet the reading of the token.- Specified by:
getReadingin interfaceReadingAttribute
-
setToken
public void setToken(Token token)
Description copied from interface:ReadingAttributeSet the current 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
-
-